summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-01-19 16:25:44 +0100
committerLukas Reschke <lukas@owncloud.com>2015-01-19 16:25:44 +0100
commit730460c9fa758ae2968299d9dcfa82c23e83f5bb (patch)
tree9bfb527993fc39f0233115217b073f10cc9c9087 /lib
parentdfbc405a45f42acd1202d5f0649619388adbfb83 (diff)
downloadnextcloud-server-730460c9fa758ae2968299d9dcfa82c23e83f5bb.tar.gz
nextcloud-server-730460c9fa758ae2968299d9dcfa82c23e83f5bb.zip
Close session properly
Diffstat (limited to 'lib')
-rw-r--r--lib/private/connector/sabre/auth.php1
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