Lines 905-910
sub checkauth {
Link Here
|
905 |
$anon_search_history = $session->param('search_history'); |
905 |
$anon_search_history = $session->param('search_history'); |
906 |
$session->delete(); |
906 |
$session->delete(); |
907 |
$session->flush; |
907 |
$session->flush; |
|
|
908 |
undef $session; |
908 |
C4::Context::_unset_userenv($sessionID); |
909 |
C4::Context::_unset_userenv($sessionID); |
909 |
$sessionID = undef; |
910 |
$sessionID = undef; |
910 |
} |
911 |
} |
Lines 1279-1285
sub checkauth {
Link Here
|
1279 |
$uri->query_param_delete('password'); |
1280 |
$uri->query_param_delete('password'); |
1280 |
$uri->query_param_delete('koha_login_context'); |
1281 |
$uri->query_param_delete('koha_login_context'); |
1281 |
print $query->redirect(-uri => $uri->as_string, -cookie => $cookie, -status=>'303 See other'); |
1282 |
print $query->redirect(-uri => $uri->as_string, -cookie => $cookie, -status=>'303 See other'); |
1282 |
exit; |
1283 |
safe_exit; |
1283 |
} |
1284 |
} |
1284 |
|
1285 |
|
1285 |
return ( $userid, $cookie, $sessionID, $flags ); |
1286 |
return ( $userid, $cookie, $sessionID, $flags ); |
1286 |
- |
|
|