projects
/
evergreen
/
masslnc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8777c42
)
LP#1248636: Clear session at OPAC logout
author
Mike Rylander
<mrylander@gmail.com>
Thu, 30 Oct 2014 15:52:13 +0000
(11:52 -0400)
committer
Ben Shum
<bshum@biblio.org>
Wed, 5 Nov 2014 21:21:13 +0000
(16:21 -0500)
When the user explicitly logs out, clear the session on the server side.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
index
eda0c65
..
868907d
100644
(file)
--- a/
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
+++ b/
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
@@
-483,6
+483,12
@@
sub load_logout {
# while logged in, go ahead and clear it out.
$self->clear_anon_cache;
+ $U->simplereq(
+ 'open-ils.auth',
+ 'open-ils.auth.session.delete',
+ $self->cgi->cookie(COOKIE_SES)
+ );
+
return $self->generic_redirect(
$redirect_to || $self->ctx->{home_page},
[