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:
parent
243efa7ee9
commit
39999fec0f
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue