Close session properly

This commit is contained in:
Lukas Reschke 2015-01-19 16:25:44 +01:00
parent dfbc405a45
commit 730460c9fa
1 changed files with 1 additions and 0 deletions

View File

@ -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