From 383349f83fb9362a6f875cc11a9efbb5caed2956 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 (cherry picked from commit 8c038b9eab64d16c08a66218ab5bc631ce6a0b09) Signed-off-by: Martin Renvoize --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 8182bf4fe8..51f34aee5e 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -190,7 +190,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