]> git.koha-community.org Git - koha.git/commit
Bug 31908: Resolve second login with another userid
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 8 Nov 2022 13:40:17 +0000 (13:40 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 19 Dec 2022 17:07:11 +0000 (17:07 +0000)
commit3efae186be2cfab172328786d35aaf257343784c
tree37d053400b4fd079b610645f1bce4a4c7554f85e
parent950305c35164b2900b60366402adccd550b022e3
Bug 31908: Resolve second login with another userid

Somewhere the line undef $userid got removed.
We need it to resolve the second login situation.

Test plan:
Login in staff with user missing privileges.
On the login form login again with another staff user.
Note that you do no longer crash.

Run t/db../Auth.t
Run t/db../Koha/Auth/TwoFactorAuth.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Auth.pm