diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-10-23 13:37:22 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-10-23 13:37:22 +0200 |
commit | 677cec6e1c9194d22edc08f9c3088621e53bdfe7 (patch) | |
tree | 873e90dad9e88048e9bc971c4d59921516a1d4e1 | |
parent | 7435064cd31a787f7d29f7dd99575905108d5f2d (diff) | |
download | nextcloud-server-677cec6e1c9194d22edc08f9c3088621e53bdfe7.tar.gz nextcloud-server-677cec6e1c9194d22edc08f9c3088621e53bdfe7.zip |
get effective username after webdav login, fixes oc-2108
-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 0c34c7ea29f..db8f005745a 100644 --- a/lib/connector/sabre/auth.php +++ b/lib/connector/sabre/auth.php @@ -37,7 +37,7 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic { } else { OC_Util::setUpFS();//login hooks may need early access to the filesystem if(OC_User::login($username, $password)) { - OC_Util::setUpFS($username); + OC_Util::setUpFS(OC_User::getUser()); return true; } else{ |