Fix initialization of OC_Filesystem setup from DAV
This commit is contained in:
parent
96ec7a66bb
commit
f655981baf
|
@ -33,7 +33,7 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
|
|||
protected function validateUserPass($username, $password){
|
||||
OC_Util::setUpFS();//login hooks may need early access to the filesystem
|
||||
if(OC_User::login($username,$password)){
|
||||
OC_Util::setUpFS();
|
||||
OC_Util::setUpFS($username);
|
||||
return true;
|
||||
}
|
||||
else{
|
||||
|
|
Loading…
Reference in New Issue