6 Sep
2023
6 Sep
'23
2:16 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30843 --- Comment #8 from Jonathan Druart <jonathan.druart+koha@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.