From feb93d1cfbd19de78a614bb1c170eadeecaf1a81 Mon Sep 17 00:00:00 2001
From: Liz Rea <wizzyrea@gmail.com>
Date: Tue, 9 Apr 2019 17:49:00 +0000
Subject: [PATCH] Bug 18387: (QA Follow up) adding specificity to error
 template.
Content-Type: text/plain; charset=utf-8

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
---
 C4/Auth.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/C4/Auth.pm b/C4/Auth.pm
index 7f0a233b59..9057c4f51e 100644
--- a/C4/Auth.pm
+++ b/C4/Auth.pm
@@ -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')
           )
-- 
2.11.0