From e1e3c7839ed705b5a0b1b4891ec1fd151160dfe2 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sat, 6 Oct 2007 18:08:30 -0500 Subject: [PATCH] Missing session->delete on users voluntary logout Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 0d6bcb6831..6d792eaaf3 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -438,8 +438,9 @@ sub checkauth { if ($logout) { # voluntary logout the user -# $session->delete; + $session->flush; + $session->delete(); C4::Context->_unset_userenv($sessionID); $sessionID = undef; $userid = undef; -- 2.39.5