diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-06-22 17:16:34 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-06-22 17:20:10 +0200 |
commit | 60f558cdbb9f41410f2ba639325a6750032f536d (patch) | |
tree | 399c02100ee2671cba0e198702b6e240384da1c6 /lib/connector | |
parent | e943f6c0c8826315a613105b0313ce977298ebac (diff) | |
download | nextcloud-server-60f558cdbb9f41410f2ba639325a6750032f536d.tar.gz nextcloud-server-60f558cdbb9f41410f2ba639325a6750032f536d.zip |
Fix initialization of OC_Filesystem setup from DAV
Diffstat (limited to 'lib/connector')
-rw-r--r-- | lib/connector/sabre/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
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{ |