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

(-)a/C4/Auth.pm (-2 / +3 lines)
Lines 810-816 sub checkauth { Link Here
810
            $sessiontype = $session->param('sessiontype') || '';
810
            $sessiontype = $session->param('sessiontype') || '';
811
        }
811
        }
812
        if ( ( $query->param('koha_login_context') && ( $q_userid ne $s_userid ) )
812
        if ( ( $query->param('koha_login_context') && ( $q_userid ne $s_userid ) )
813
            || ( $cas && $query->param('ticket') && !C4::Context->userenv->{'id'} ) || ( $shib && $shib_login && !$logout ) ) {
813
            || ( $cas && $query->param('ticket') && !C4::Context->userenv->{'id'} )
814
            || ( $shib && $shib_login && !$logout && !C4::Context->userenv->{'id'} )
815
        ) {
814
816
815
            #if a user enters an id ne to the id in the current session, we need to log them in...
817
            #if a user enters an id ne to the id in the current session, we need to log them in...
816
            #first we need to clear the anonymous session...
818
            #first we need to clear the anonymous session...
817
- 

Return to bug 14034