[Koha-bugs] [Bug 18387] 404 errors on page causes SCO user to be logged out

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 8 13:27:37 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18387

--- Comment #13 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 87421
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87421
Bug 18387: (QA Follow up) adding specificity to error template.

Review of attachment 87421:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18387&attachment=87421)
-----------------------------------------------------------------

::: C4/Auth.pm
@@ +192,5 @@
>          if (
>  # If the user logged in is the SCO user and they try to go out of the SCO module,
>  # log the user out removing the CGISESSID cookie
> +            $in->{template_name} !~ m|sco/| && $in->{template_name} !~ m|errors/errorpage.tt|
> +            &r C4::Context->preference('AutoSelfCheckID')

Looks like a typo here.. `&r` ?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list