[Pkg-owncloud-commits] [owncloud] 62/67: get effective username after webdav login, fixes oc-2108

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:10:46 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.

commit 677cec6e1c9194d22edc08f9c3088621e53bdfe7
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Tue Oct 23 13:37:22 2012 +0200

    get effective username after webdav login, fixes oc-2108
---
 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 0c34c7e..db8f005 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{

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list