]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix initialization of OC_Filesystem setup from DAV
authorBart Visscher <bartv@thisnet.nl>
Fri, 22 Jun 2012 15:16:34 +0000 (17:16 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 22 Jun 2012 15:21:56 +0000 (17:21 +0200)
lib/connector/sabre/auth.php

index 1c7a84f0f2a69c5b9a08c003a3d03b60a90483e6..ee68039162647beab589a2711f0de4767bd40e4e 100644 (file)
@@ -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{