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

(-)a/C4/Auth.pm (-1 / +2 lines)
Lines 674-679 sub checkauth { Link Here
674
            $ip       = $session->param('ip');
674
            $ip       = $session->param('ip');
675
            $lasttime = $session->param('lasttime');
675
            $lasttime = $session->param('lasttime');
676
            $userid   = $session->param('id');
676
            $userid   = $session->param('id');
677
            utf8::decode($userid);
677
            $sessiontype = $session->param('sessiontype') || '';
678
            $sessiontype = $session->param('sessiontype') || '';
678
        }
679
        }
679
        if ( ( ($query->param('koha_login_context')) && ($query->param('userid') ne $session->param('id')) )
680
        if ( ( ($query->param('koha_login_context')) && ($query->param('userid') ne $session->param('id')) )
Lines 749-754 sub checkauth { Link Here
749
            -HttpOnly => 1
750
            -HttpOnly => 1
750
        );
751
        );
751
    $userid = $query->param('userid');
752
    $userid = $query->param('userid');
753
    utf8::decode($userid);
752
        if (   ( $cas && $query->param('ticket') )
754
        if (   ( $cas && $query->param('ticket') )
753
            || $userid
755
            || $userid
754
            || ( my $pki_field = C4::Context->preference('AllowPKIAuth') ) ne
756
            || ( my $pki_field = C4::Context->preference('AllowPKIAuth') ) ne
755
- 

Return to bug 10019