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

(-)a/C4/Auth.pm (-3 / +2 lines)
Lines 791-797 sub checkauth { Link Here
791
    my $type            = shift;
791
    my $type            = shift;
792
    my $emailaddress    = shift;
792
    my $emailaddress    = shift;
793
    my $template_name   = shift;
793
    my $template_name   = shift;
794
    my $params          = shift || {}; # do_not_print
794
    my $params          = shift || {};    # do_not_print
795
    $type = 'opac' unless $type;
795
    $type = 'opac' unless $type;
796
796
797
    if ( $type eq 'opac' && !C4::Context->preference("OpacPublic") ) {
797
    if ( $type eq 'opac' && !C4::Context->preference("OpacPublic") ) {
Lines 1334-1340 sub checkauth { Link Here
1334
            $uri->query_param_delete('password');
1334
            $uri->query_param_delete('password');
1335
            $uri->query_param_delete('koha_login_context');
1335
            $uri->query_param_delete('koha_login_context');
1336
            unless ( $params->{do_not_print} ) {
1336
            unless ( $params->{do_not_print} ) {
1337
                print $query->redirect(-uri => $uri->as_string, -cookie => $cookie, -status=>'303 See other');
1337
                print $query->redirect( -uri => $uri->as_string, -cookie => $cookie, -status => '303 See other' );
1338
                safe_exit;
1338
                safe_exit;
1339
            }
1339
            }
1340
        }
1340
        }
1341
- 

Return to bug 35904