]> source.dussan.org Git - nextcloud-server.git/commitdiff
set up FS by username, not login name\!
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 22 Oct 2014 11:28:08 +0000 (13:28 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Wed, 22 Oct 2014 11:28:08 +0000 (13:28 +0200)
lib/private/user.php

index 641a329b0dd97110cb45a2a96af3367165d41fdf..e02a0aaa1fcb0c4b160fa69e8b38ed72dddfa9ca 100644 (file)
@@ -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;
        }