Bugzilla – Attachment 87420 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: Allow sco-user to access errors templates
Bug-18387-Allow-sco-user-to-access-errors-template.patch (text/plain), 1.23 KB, created by
Liz Rea
on 2019-04-04 15:10:43 UTC
(
hide
)
Description:
Bug 18387: Allow sco-user to access errors templates
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2019-04-04 15:10:43 UTC
Size:
1.23 KB
patch
obsolete
>From 76e8e324e1293f9e70021e558668a267e7a7a027 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 9 Jul 2018 13:30:38 +0000 >Subject: [PATCH] Bug 18387: Allow sco-user to access errors templates > >To test: > 1 - Enable AuthoSelfCheck prefs > 2 - In opacuserjs or scouserjs add a fetch of an unreachable resources > 3 - Visit the SCO > 4 - Sign in as a patron then click 'finish' > 5 - Say 'yes' to receipt > 6 - Note you are directed to log in > 7 - Apply patch > 8 - Restart all the things > 9 - Repeat 4 & 5 >10 - Sucess, receipt prints > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >--- > C4/Auth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index c3ba5baad2..3cca565508 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|sco/| && $in->{template_name} !~ m|errors/| > && 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