Lines 774-780
sub checkauth {
Link Here
|
774 |
$sessiontype = $session->param('sessiontype') || ''; |
774 |
$sessiontype = $session->param('sessiontype') || ''; |
775 |
} |
775 |
} |
776 |
if ( ( $query->param('koha_login_context') && ( $q_userid ne $s_userid ) ) |
776 |
if ( ( $query->param('koha_login_context') && ( $q_userid ne $s_userid ) ) |
777 |
|| ( $cas && $query->param('ticket') && !C4::Context->userenv->{'id'} ) || ( $shib && $shib_login && !$logout ) ) { |
777 |
|| ( $cas && $query->param('ticket') && !C4::Context->userenv->{'id'} ) |
|
|
778 |
|| ( $shib && $shib_login && !$logout && !C4::Context->userenv->{'id'} ) |
779 |
) { |
778 |
|
780 |
|
779 |
#if a user enters an id ne to the id in the current session, we need to log them in... |
781 |
#if a user enters an id ne to the id in the current session, we need to log them in... |
780 |
#first we need to clear the anonymous session... |
782 |
#first we need to clear the anonymous session... |
781 |
- |
|
|