]> 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)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Thu, 26 Jan 2023 23:05:03 +0000 (12:05 +1300)
commit885d07a17a824497b502a54c46d7b9cf4e172262
tree1f22d39aa952b52fd6590001b2656b138c9b4bc9
parent9eaba374d24b51368bc26e0b35db4b2a6c4b947b
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>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
C4/Auth.pm