Revert "Bug 32208: Adjust Auth.pm for relogin without perms"

This reverts commit 44d991b0c4.

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
Arthur Suzuki 2023-01-13 14:56:03 +01:00
parent 243efa7ee9
commit 39999fec0f
No known key found for this signature in database
GPG Key ID: 7558BEE2BEEEBCAA
1 changed files with 0 additions and 5 deletions

View File

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