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

(-)a/C4/Auth.pm (-3 / +2 lines)
Lines 192-199 sub get_template_and_user { Link Here
192
        if (
192
        if (
193
# If the user logged in is the SCO user and they try to go out of the SCO module,
193
# If the user logged in is the SCO user and they try to go out of the SCO module,
194
# log the user out removing the CGISESSID cookie
194
# log the user out removing the CGISESSID cookie
195
            $in->{template_name} !~ m|sco/| && $in->{template_name} !~ m|errors/|
195
            $in->{template_name} !~ m|sco/| && $in->{template_name} !~ m|errors/errorpage.tt|
196
            && C4::Context->preference('AutoSelfCheckID')
196
            &r C4::Context->preference('AutoSelfCheckID')
197
            && $user eq C4::Context->preference('AutoSelfCheckID')
197
            && $user eq C4::Context->preference('AutoSelfCheckID')
198
          )
198
          )
199
        {
199
        {
200
- 

Return to bug 18387