@@ -, +, @@ FAIL members/two_factor_auth.pl FAIL file permissions File must have the exec flag FAIL koha-tmpl/intranet-tmpl/prog/en/modules/members/two_factor_auth.tt FAIL filters missing_filter at line 42 (

Account: [% issuer %]

) missing_filter at line 43 (

Key: [% key_id %]

) missing_filter at line 54 ( ) missing_filter at line 58 ( ) FAIL Koha/Auth/TwoFactorAuth.pm FAIL pod coverage POD is missing for 'new' --- Koha/Auth/TwoFactorAuth.pm | 6 ++++++ .../prog/en/modules/members/two_factor_auth.tt | 8 ++++---- members/two_factor_auth.pl | 0 3 files changed, 10 insertions(+), 4 deletions(-) mode change 100644 => 100755 members/two_factor_auth.pl --- a/Koha/Auth/TwoFactorAuth.pm +++ a/Koha/Auth/TwoFactorAuth.pm @@ -36,6 +36,12 @@ my $ok = $auth->verify($pin_code, 1, $secret32); It's based on Auth::GoogleAuth +=head2 METHODS + +=head3 new + + $obj = Koha::Auth::TwoFactorAuth->new({ patron => $p, secret => $s }); + =cut sub new { --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/two_factor_auth.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/two_factor_auth.tt @@ -39,8 +39,8 @@

We recommend cloud-based mobile authenticator apps such as Authy, Duo Mobile, and LastPass. They can restore access if you lose your hardware device.

Can't scan the code?

To add the entry manually, provide the following details to the application on your phone.

-

Account: [% issuer %]

-

Key: [% key_id %]

+

Account: [% issuer | html %]

+

Key: [% key_id | html %]

Time based: Yes

@@ -51,11 +51,11 @@
- +
  1. - +