]> 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>
Tue, 20 Dec 2022 02:26:20 +0000 (15:26 +1300)
commit68cde441b325a8ceabe44355d616507e84d03783
tree1f22d39aa952b52fd6590001b2656b138c9b4bc9
parent2427d773a901926727888a43c471f90f1beb4bf8
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