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

(-)a/C4/Auth.pm (-2 / +1 lines)
Lines 912-918 sub checkauth { Link Here
912
912
913
                # voluntary logout the user
913
                # voluntary logout the user
914
                # check wether the user was using their shibboleth session or a local one
914
                # check wether the user was using their shibboleth session or a local one
915
                my $shibSuccess = C4::Context->userenv->{'shibboleth'};
915
                my $shibSuccess = C4::Context->userenv ? C4::Context->userenv->{'shibboleth'} : undef;
916
                $session->delete();
916
                $session->delete();
917
                $session->flush;
917
                $session->flush;
918
                $cookie = $cookie_mgr->clear_unless( $query->cookie, @$cookie );
918
                $cookie = $cookie_mgr->clear_unless( $query->cookie, @$cookie );
919
- 

Return to bug 31244