Skip to content

Commit

Permalink
set up FS by username, not login name\!
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzz committed Oct 22, 2014
1 parent a9aa784 commit e0342db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public static function login($uid, $password) {
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;
}
Expand Down

0 comments on commit e0342db

Please sign in to comment.