summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-30 16:47:46 +0100
committerLukas Reschke <lukas@owncloud.com>2014-10-30 16:47:46 +0100
commit6db69c5d05cc253e5373a6dc0fc99bfb6ba6a58c (patch)
treea4823bf2bd07f6e1b2e5ee8d2afaf544952a810b /lib
parent90e523ead09436c54993ea527a1eec3faad7a0bd (diff)
parent770c62c5d8030e54b4091f116dfa0e97d7df8691 (diff)
downloadnextcloud-server-6db69c5d05cc253e5373a6dc0fc99bfb6ba6a58c.tar.gz
nextcloud-server-6db69c5d05cc253e5373a6dc0fc99bfb6ba6a58c.zip
Merge pull request #11864 from owncloud/clear-session-after-logout
Clear session after logout
Diffstat (limited to 'lib')
-rw-r--r--lib/private/user/session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/user/session.php b/lib/private/user/session.php
index b9c341b4ae9..ca0265dfb23 100644
--- a/lib/private/user/session.php
+++ b/lib/private/user/session.php
@@ -253,6 +253,7 @@ class Session implements IUserSession, Emitter {
$this->setUser(null);
$this->setLoginName(null);
$this->unsetMagicInCookie();
+ $this->session->clear();
}
/**