aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-30 12:10:39 +0100
committerLukas Reschke <lukas@owncloud.com>2014-10-30 12:10:39 +0100
commit770c62c5d8030e54b4091f116dfa0e97d7df8691 (patch)
tree5c8a5c80228b8f966741a02c68a63d07edd2e661 /lib
parentea55848fa11eee7469c9ccee7b2c544ab976d3a1 (diff)
downloadnextcloud-server-770c62c5d8030e54b4091f116dfa0e97d7df8691.tar.gz
nextcloud-server-770c62c5d8030e54b4091f116dfa0e97d7df8691.zip
Clear session after logout
Fixes https://github.com/owncloud/core/issues/8420
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();
}
/**