Bug 18387: (QA Follow up) adding specificity to error template.
authorLiz Rea <wizzyrea@gmail.com>
Tue, 9 Apr 2019 17:49:00 +0000 (17:49 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 12 Apr 2019 01:47:23 +0000 (01:47 +0000)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

C4/Auth.pm

index 7f0a233..9057c4f 100644 (file)
@@ -192,7 +192,7 @@ sub get_template_and_user {
         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/|
+            $in->{template_name} !~ m|sco/| && $in->{template_name} !~ m|errors/errorpage.tt|
             && C4::Context->preference('AutoSelfCheckID')
             && $user eq C4::Context->preference('AutoSelfCheckID')
           )