From e4ee762458b11fea6f07fbcd85cd7b16c41defcd 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. --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 3cca565508..aad9b5c9e3 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