Bugzilla – Attachment 42692 Details for
Bug 14034
User logged out on refresh after Shibboleth authentication
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14034: Fix logout on refresh for shibboleth
Bug-14034-Fix-logout-on-refresh-for-shibboleth.patch (text/plain), 1.10 KB, created by
Martin Renvoize (ashimema)
on 2015-09-18 08:11:36 UTC
(
hide
)
Description:
Bug 14034: Fix logout on refresh for shibboleth
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2015-09-18 08:11:36 UTC
Size:
1.10 KB
patch
obsolete
>From 68f1bbd115465950ba660166e6113d29369d6676 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 18 Sep 2015 08:10:27 +0000 >Subject: [PATCH] Bug 14034: Fix logout on refresh for shibboleth > >This is similar to bug 12877 >--- > C4/Auth.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index ef0c585..e0bf9ba 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -774,7 +774,9 @@ sub checkauth { > $sessiontype = $session->param('sessiontype') || ''; > } > if ( ( $query->param('koha_login_context') && ( $q_userid ne $s_userid ) ) >- || ( $cas && $query->param('ticket') && !C4::Context->userenv->{'id'} ) || ( $shib && $shib_login && !$logout ) ) { >+ || ( $cas && $query->param('ticket') && !C4::Context->userenv->{'id'} ) >+ || ( $shib && $shib_login && !$logout && !C4::Context->userenv->{'id'} ) >+ ) { > > #if a user enters an id ne to the id in the current session, we need to log them in... > #first we need to clear the anonymous session... >-- >1.7.10.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 14034
:
42692
|
45961
|
46162