summaryrefslogtreecommitdiffstats
path: root/lib/connector
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-02-05 23:49:22 +0100
committerRobin Appelman <icewind@owncloud.com>2012-02-21 20:48:48 +0100
commit6658f510986aff0e41fee37319a1b0eefa98a4d0 (patch)
treeb922c9fe52b1f29695089a8bcf69651a03d627eb /lib/connector
parentb3a974d8bbcd88602a54cf32cd472802583ab4aa (diff)
downloadnextcloud-server-6658f510986aff0e41fee37319a1b0eefa98a4d0.tar.gz
nextcloud-server-6658f510986aff0e41fee37319a1b0eefa98a4d0.zip
provide early file system when using webdav
Diffstat (limited to 'lib/connector')
-rw-r--r--lib/connector/sabre/auth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connector/sabre/auth.php b/lib/connector/sabre/auth.php
index 1e87c7cee08..8964ef7d0de 100644
--- a/lib/connector/sabre/auth.php
+++ b/lib/connector/sabre/auth.php
@@ -23,6 +23,7 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
* @return bool
*/
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();
return true;