Lines 1119-1124
sub checkauth {
Link Here
|
1119 |
$auth_state = "logged_in"; |
1119 |
$auth_state = "logged_in"; |
1120 |
} |
1120 |
} |
1121 |
else { |
1121 |
else { |
|
|
1122 |
$auth_state = 'failed'; |
1123 |
# FIXME We could add $return = 0; or even delete the session? |
1124 |
# Currently return == 1 and we will fill session info later on, |
1125 |
# although we do present an authorization failure. (Yes, the |
1126 |
# authentication was actually correct.) |
1122 |
$info{'nopermission'} = 1; |
1127 |
$info{'nopermission'} = 1; |
1123 |
C4::Context::_unset_userenv($sessionID); |
1128 |
C4::Context::_unset_userenv($sessionID); |
1124 |
} |
1129 |
} |
1125 |
- |
|
|