set up FS by username, not login name\!

This commit is contained in:
Arthur Schiwon 2014-10-22 13:28:08 +02:00
parent a9aa7841c9
commit e0342db47c
1 changed files with 1 additions and 1 deletions

View 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;
}