From 415ec58c8069a0e4f71b2f53100a2f7204857e22 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 13 Jan 2023 08:03:22 +0000 Subject: [PATCH] Bug 31908: [21.11.x] Revert "Resolve second login with another userid" This reverts commit 0a89528d580596a694b05d3853a7627ac75dd5df. Signed-off-by: Arthur Suzuki --- C4/Auth.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 6c45d42d1d..20f8d6a681 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -918,7 +918,6 @@ sub checkauth { $cookie = $cookie_mgr->clear_unless( $query->cookie, @$cookie ); C4::Context::_unset_userenv($sessionID); $sessionID = undef; - undef $userid; # IMPORTANT: this assures us a new session in code below if ($cas and $caslogout) { logout_cas($query, $type); -- 2.39.5