From f655981baf1086243d208f8aa3da8d6e26e32d48 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 22 Jun 2012 17:16:34 +0200 Subject: [PATCH] Fix initialization of OC_Filesystem setup from DAV --- lib/connector/sabre/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{ -- 2.39.5