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>
12 <div id="errors" class="dialog error" style="display: none;"></div>
14 <fieldset class="rows">
15 <input type="hidden" id="secret32" name="secret32" value="[% secret32 | html %]" />
18 <label for="qr_code">QR code: </label>
19 <img id="qr_code" src="" />
22 <label for="pin_code">PIN code: </label>
23 <input type="text" id="pin_code" name="pin_code" value="" />
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>