[Koha-bugs] [Bug 28786] Two-factor authentication for staff client - TOTP

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 18 16:02:18 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28786

--- Comment #89 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
     my $auth = Koha::Auth::TwoFactorAuth->new(
         { patron => $logged_in_user, secret => $secret } );

-    my $secret32 = $auth->generate_secret32;
     my $qr_code_url =
-      $auth->qr_code( $secret32, $auth->key_id, $auth->issuer, );
+      $auth->qr_code( undef, $auth->key_id, $auth->issuer ); # no need to pass
secret32

Do note that this qr code call will be replaced too on 29873. Almost ready.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list