[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 66b563e4645ba3a4132a3474721a90555607df8a

Evergreen Git git at git.evergreen-ils.org
Wed Nov 5 16:21:18 EST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  66b563e4645ba3a4132a3474721a90555607df8a (commit)
      from  8777c4205f21982d3f803ce5f7813cab08a0f4a3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 66b563e4645ba3a4132a3474721a90555607df8a
Author: Mike Rylander <mrylander at gmail.com>
Date:   Thu Oct 30 11:52:13 2014 -0400

    LP#1248636: Clear session at OPAC logout
    
    When the user explicitly logs out, clear the session on the server side.
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

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
--- 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},
         [

-----------------------------------------------------------------------

Summary of changes:
 .../src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm    |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list