Close session properly
This commit is contained in:
parent
dfbc405a45
commit
730460c9fa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue