View | Details | Raw Unified | Return to bug 12887
Collapse All | Expand All

(-)a/C4/Auth.pm (-2 / +1 lines)
Lines 770-776 sub checkauth { Link Here
770
            $sessiontype = $session->param('sessiontype') || '';
770
            $sessiontype = $session->param('sessiontype') || '';
771
        }
771
        }
772
        if ( ( $query->param('koha_login_context') && ( $q_userid ne $s_userid ) )
772
        if ( ( $query->param('koha_login_context') && ( $q_userid ne $s_userid ) )
773
            || ( $cas && $query->param('ticket') ) || ( $shib && $shib_login && !$logout ) ) {
773
            || ( $cas && $query->param('ticket') && !C4::Context->userenv->{'id'} ) || ( $shib && $shib_login && !$logout ) ) {
774
774
775
            #if a user enters an id ne to the id in the current session, we need to log them in...
775
            #if a user enters an id ne to the id in the current session, we need to log them in...
776
            #first we need to clear the anonymous session...
776
            #first we need to clear the anonymous session...
777
- 

Return to bug 12887