Bugzilla – Attachment 138961 Details for
Bug 30588
Add the option to require 2FA setup on first staff login
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30588: Add missing include file
Bug-30588-Add-missing-include-file.patch (text/plain), 2.18 KB, created by
Jonathan Druart
on 2022-08-10 08:24:58 UTC
(
hide
)
Description:
Bug 30588: Add missing include file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-08-10 08:24:58 UTC
Size:
2.18 KB
patch
obsolete
>From a80fae34ae4f5c51935f0538dd4dd46f9bf48728 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 28 Jul 2022 10:31:35 +0200 >Subject: [PATCH] Bug 30588: Add missing include file > >--- > .../prog/en/includes/auth-two-factor.inc | 32 +++++++++++++++++++ > 1 file changed, 32 insertions(+) > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/auth-two-factor.inc > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-two-factor.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-two-factor.inc >new file mode 100644 >index 00000000000..24e74141dad >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-two-factor.inc >@@ -0,0 +1,32 @@ >+[% BLOCK registration_form %] >+ <div id="registration-form" style="display: none;"> >+ <div class="dialog message"> >+ <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> >+ <p>Can't scan the code?</p> >+ <p>To add the entry manually, provide the following details to the application on your phone.</p> >+ <p>Account: <span id="issuer">[% issuer | html %]</span></p> >+ <p>Key: <span id="key_id">"[% key_id | html %]</span></p> >+ <p>Time based: Yes</p> >+ </div> >+ >+ <div id="errors" class="dialog error" style="display: none;"></div> >+ >+ <fieldset class="rows"> >+ <input type="hidden" id="secret32" name="secret32" value="[% secret32 | html %]" /> >+ <ol> >+ <li> >+ <label for="qr_code">QR code: </label> >+ <img id="qr_code" src="" /> >+ </li> >+ <li> >+ <label for="pin_code">PIN code: </label> >+ <input type="text" id="pin_code" name="pin_code" value="" /> >+ </li> >+ </ol> >+ </fieldset> >+ <fieldset class="action"> >+ <input id="register-2FA" type="submit" value="Register with two-factor app" /> >+ <a class="cancel" href="/cgi-bin/koha/members/two_factor_auth.pl">Cancel</a> >+ </fieldset> >+ </div> >+[% END %] >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30588
:
138160
|
138161
|
138162
|
138163
|
138164
|
138165
|
138166
|
138191
|
138193
|
138953
|
138954
|
138955
|
138956
|
138957
|
138958
|
138959
|
138960
|
138961
|
138962
|
140365
|
140366
|
140367
|
140368
|
140369
|
140416
|
140417
|
140418
|
140419
|
140420
|
140421
|
140422
|
140423
|
140424
|
140425
|
140426
|
140427
|
140428
|
140429
|
140430
|
141978
|
141979
|
141980
|
141981
|
141982
|
141983
|
141984
|
141985
|
141986
|
141987
|
141988
|
141989
|
141990
|
141991
|
141992
|
142344
|
142345
|
142346
|
142347
|
142348
|
142349
|
142350
|
142351
|
142352
|
142353
|
142354
|
142355
|
142356
|
142357
|
142358