Bug 31908: [21.11.x] Revert "Resolve second login with another userid"

This reverts commit 0a89528d58.

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
Marcel de Rooy 2023-01-13 08:03:22 +00:00 committed by Arthur Suzuki
parent 069021032e
commit 415ec58c80
No known key found for this signature in database
GPG Key ID: 7558BEE2BEEEBCAA
1 changed files with 0 additions and 1 deletions

View File

@ -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);