From e0342db47cc95a1032086a82650d2bdc7814ae57 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 22 Oct 2014 13:28:08 +0200 Subject: [PATCH] set up FS by username, not login name\! --- lib/private/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/user.php b/lib/private/user.php index 641a329b0dd..e02a0aaa1fc 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -234,7 +234,7 @@ class OC_User { session_regenerate_id(true); $result = self::getUserSession()->login($uid, $password); if ($result) { - OC_Util::setupFS($uid); + OC_Util::setupFS(self::getUserSession()->getUser()->getUID()); } return $result; } -- 2.39.5