Missing session->delete on users voluntary logout

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2007-10-06 18:08:30 -05:00 committed by Joshua Ferraro
parent bfecb0001d
commit e1e3c7839e

View file

@ -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;