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

(-)a/C4/Auth.pm (-2 / +1 lines)
Lines 1340-1346 sub checkauth { Link Here
1340
        #If shibOnly is enabled just go ahead and redirect directly
1340
        #If shibOnly is enabled just go ahead and redirect directly
1341
        if ( (($type eq 'opac') && C4::Context->preference('opacShibOnly')) || (($type ne 'opac') && C4::Context->preference('staffShibOnly')) ) {
1341
        if ( (($type eq 'opac') && C4::Context->preference('opacShibOnly')) || (($type ne 'opac') && C4::Context->preference('staffShibOnly')) ) {
1342
            my $redirect_url = login_shib_url( $query );
1342
            my $redirect_url = login_shib_url( $query );
1343
            print $query->redirect($redirect_url);
1343
            print $query->redirect( -uri => "$redirect_url", -status => 303 );
1344
            safe_exit;
1344
            safe_exit;
1345
        }
1345
        }
1346
1346
1347
- 

Return to bug 18506