Skip to content
Snippets Groups Projects
Commit 730460c9 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Close session properly

parent dfbc405a
No related branches found
No related tags found
No related merge requests found
...@@ -55,6 +55,7 @@ class OC_Connector_Sabre_Auth extends \Sabre\DAV\Auth\Backend\AbstractBasic { ...@@ -55,6 +55,7 @@ class OC_Connector_Sabre_Auth extends \Sabre\DAV\Auth\Backend\AbstractBasic {
$this->isDavAuthenticated($username) $this->isDavAuthenticated($username)
) { ) {
OC_Util::setupFS(OC_User::getUser()); OC_Util::setupFS(OC_User::getUser());
\OC::$server->getSession()->close();
return true; return true;
} else { } else {
OC_Util::setUpFS(); //login hooks may need early access to the filesystem OC_Util::setUpFS(); //login hooks may need early access to the filesystem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment