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