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:
parent
bfecb0001d
commit
e1e3c7839e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue