From 39999fec0ffabf888fc340c0c9a0f069a5e618bf Mon Sep 17 00:00:00 2001 From: Arthur Suzuki Date: Fri, 13 Jan 2023 14:56:03 +0100 Subject: [PATCH] Revert "Bug 32208: Adjust Auth.pm for relogin without perms" This reverts commit 44d991b0c492271b20d55e1e84918d70cb448c54. Signed-off-by: Arthur Suzuki --- C4/Auth.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 15d6ba362e..e8e75b84ce 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1109,11 +1109,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