Clear session after logout
Fixes https://github.com/owncloud/core/issues/8420
This commit is contained in:
parent
ea55848fa1
commit
770c62c5d8
|
@ -253,6 +253,7 @@ class Session implements IUserSession, Emitter {
|
||||||
$this->setUser(null);
|
$this->setUser(null);
|
||||||
$this->setLoginName(null);
|
$this->setLoginName(null);
|
||||||
$this->unsetMagicInCookie();
|
$this->unsetMagicInCookie();
|
||||||
|
$this->session->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue