[Koha-bugs] [Bug 30843] TOTP expiration delay should be configurable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 6 11:16:54 CEST 2023


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

--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to David Cook from comment #7)
> (In reply to Jonathan Druart from comment #6)
> > Why don't you set it in Koha/Auth/TwoFactorAuth.pm to also affect the call
> > from Koha/REST/V1/TwoFactorAuth.pm (used for the registration)?
> 
> Funny you mention it... I did write a version where I overrode verify() but
> then I thought maybe we wouldn't want to embed C4::Context in
> Koha/Auth/TwoFactorAuth.pm, so I opted for this version instead. 

That's not a problem.

% git grep -l 'use C4::Context' Koha|wc -l
93

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


More information about the Koha-bugs mailing list