From 8c038b9eab64d16c08a66218ab5bc631ce6a0b09 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 9 Apr 2019 17:49:00 +0000 Subject: [PATCH] Bug 18387: (QA Follow up) adding specificity to error template. Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens --- 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.39.5