Bugzilla – Attachment 68172 Details for
Bug 19373
CAS login for staff interface always goes back to home
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19373: CAS logout - Redirect to the previous page (Intranet)
Bug-19373-CAS-logout---Redirect-to-the-previous-pa.patch (text/plain), 1.21 KB, created by
Marcel de Rooy
on 2017-10-16 06:54:49 UTC
(
hide
)
Description:
Bug 19373: CAS logout - Redirect to the previous page (Intranet)
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-10-16 06:54:49 UTC
Size:
1.21 KB
patch
obsolete
>From 178f22ae24d2e41d4b4e002cb3a9b4e87dd07ac0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 27 Sep 2017 13:55:30 -0300 >Subject: [PATCH] Bug 19373: CAS logout - Redirect to the previous page > (Intranet) >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/Auth_with_cas.pm | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/C4/Auth_with_cas.pm b/C4/Auth_with_cas.pm >index e14c6e6..6e7bb93 100644 >--- a/C4/Auth_with_cas.pm >+++ b/C4/Auth_with_cas.pm >@@ -202,9 +202,11 @@ sub _url_with_get_params { > my $query = shift; > my $type = shift; > >- my $uri_base_part = ($type eq 'opac') ? >- C4::Context->preference('OPACBaseURL') . get_script_name() : >- C4::Context->preference('staffClientBaseURL'); >+ my $uri_base_part = >+ ( $type eq 'opac' ) >+ ? C4::Context->preference('OPACBaseURL') >+ : C4::Context->preference('staffClientBaseURL'); >+ $uri_base_part .= get_script_name(); > > my $uri_params_part = ''; > foreach my $param ( $query->url_param() ) { >-- >2.1.4
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 19373
:
67405
|
67963
|
68077
|
68078
|
68171
| 68172