From: Bart Visscher Date: Fri, 22 Jun 2012 15:16:34 +0000 (+0200) Subject: Fix initialization of OC_Filesystem setup from DAV X-Git-Tag: v4.0.3~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=60f558cdbb9f41410f2ba639325a6750032f536d;p=nextcloud-server.git Fix initialization of OC_Filesystem setup from DAV --- diff --git a/lib/connector/sabre/auth.php b/lib/connector/sabre/auth.php index 1c7a84f0f2a..ee680391626 100644 --- a/lib/connector/sabre/auth.php +++ b/lib/connector/sabre/auth.php @@ -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{