Skip to content
Snippets Groups Projects
Commit b43b85c8 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

get effective username after webdav login, fixes oc-2108

parent b66dd3eb
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic { ...@@ -37,7 +37,7 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
} 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
if(OC_User::login($username, $password)) { if(OC_User::login($username, $password)) {
OC_Util::setUpFS($username); OC_Util::setUpFS(OC_User::getUser());
return true; return true;
} }
else{ else{
......
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