Bugzilla – Attachment 87421 Details for
Bug 18387
404 errors on page causes SCO user to be logged out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18387: (QA Follow up) adding specificity to error template.
Bug-18387-QA-Follow-up-adding-specificity-to-error.patch (text/plain), 1.00 KB, created by
Liz Rea
on 2019-04-04 15:13:15 UTC
(
hide
)
Description:
Bug 18387: (QA Follow up) adding specificity to error template.
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2019-04-04 15:13:15 UTC
Size:
1.00 KB
patch
obsolete
>From 54871b530558400acff889562027d2cdb3a8c8a9 Mon Sep 17 00:00:00 2001 >From: Liz Rea <wizzyrea@gmail.com> >Date: Wed, 3 Apr 2019 09:43:53 +0000 >Subject: [PATCH] Bug 18387: (QA Follow up) adding specificity to error > template. > >Per Jonathan's comment. >--- > C4/Auth.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 3cca565508..7185bc0fe5 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -192,8 +192,8 @@ 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/| >- && C4::Context->preference('AutoSelfCheckID') >+ $in->{template_name} !~ m|sco/| && $in->{template_name} !~ m|errors/errorpage.tt| >+ &r C4::Context->preference('AutoSelfCheckID') > && $user eq C4::Context->preference('AutoSelfCheckID') > ) > { >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18387
:
76797
|
87420
|
87421
|
87657
|
87845
|
87846