From 6f5275d8e4a354003dd6c10331422de17b47d350 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Fri, 20 Jan 2023 15:42:45 +1300 Subject: [PATCH] Revert "Bug 32208: Adjust Auth.pm for relogin without perms" This reverts commit 7db145f153024c40b076d0117bce49b82f3c6632. --- C4/Auth.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index ff095986bd..1e3db9d7d5 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1166,11 +1166,6 @@ sub checkauth { $loggedin = 1; } else { - $auth_state = 'failed'; - # FIXME We could add $return = 0; or even delete the session? - # Currently return == 1 and we will fill session info later on, - # although we do present an authorization failure. (Yes, the - # authentication was actually correct.) $info{'nopermission'} = 1; C4::Context->_unset_userenv($sessionID); } -- 2.39.5