View | Details | Raw Unified | Return to bug 30588
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-two-factor.inc (-1 / +32 lines)
Line 0 Link Here
0
- 
1
[% BLOCK registration_form %]
2
    <div id="registration-form" style="display: none;">
3
        <div class="dialog message">
4
            <p>We recommend cloud-based mobile authenticator apps such as Authy, Duo Mobile, and LastPass. They can restore access if you lose your hardware device.</p>
5
            <p>Can't scan the code?</p>
6
            <p>To add the entry manually, provide the following details to the application on your phone.</p>
7
            <p>Account: <span id="issuer">[% issuer | html %]</span></p>
8
            <p>Key: <span id="key_id">"[% key_id | html %]</span></p>
9
            <p>Time based: Yes</p>
10
        </div>
11
12
        <div id="errors" class="dialog error" style="display: none;"></div>
13
14
        <fieldset class="rows">
15
            <input type="hidden" id="secret32" name="secret32" value="[% secret32 | html %]" />
16
            <ol>
17
                <li>
18
                    <label for="qr_code">QR code: </label>
19
                    <img id="qr_code" src="" />
20
                </li>
21
                <li>
22
                    <label for="pin_code">PIN code: </label>
23
                    <input type="text" id="pin_code" name="pin_code" value="" />
24
                </li>
25
            </ol>
26
        </fieldset>
27
        <fieldset class="action">
28
            <input id="register-2FA" type="submit" value="Register with two-factor app" />
29
            <a class="cancel" href="/cgi-bin/koha/members/two_factor_auth.pl">Cancel</a>
30
        </fieldset>
31
    </div>
32
[% END %]

Return to bug 30588