diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-01-19 16:25:44 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-01-19 16:25:44 +0100 |
commit | 730460c9fa758ae2968299d9dcfa82c23e83f5bb (patch) | |
tree | 9bfb527993fc39f0233115217b073f10cc9c9087 /lib | |
parent | dfbc405a45f42acd1202d5f0649619388adbfb83 (diff) | |
download | nextcloud-server-730460c9fa758ae2968299d9dcfa82c23e83f5bb.tar.gz nextcloud-server-730460c9fa758ae2968299d9dcfa82c23e83f5bb.zip |
Close session properly
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/connector/sabre/auth.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/connector/sabre/auth.php b/lib/private/connector/sabre/auth.php index 34ccd644447..f40706b73e3 100644 --- a/lib/private/connector/sabre/auth.php +++ b/lib/private/connector/sabre/auth.php @@ -55,6 +55,7 @@ class OC_Connector_Sabre_Auth extends \Sabre\DAV\Auth\Backend\AbstractBasic { $this->isDavAuthenticated($username) ) { OC_Util::setupFS(OC_User::getUser()); + \OC::$server->getSession()->close(); return true; } else { OC_Util::setUpFS(); //login hooks may need early access to the filesystem |