Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
xutl committed Aug 18, 2017
1 parent d15378f commit 2cfa844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public static function findByUser(User $user)
} else {
$model = new static([
'identifier' => md5($user->id),
'nick' => $user->name,
'nick' => $user->username,
'type' => self::TYPE_GENERAL,
'user_id' => $user->id,
'head_url' => $user->getAvatar(User::AVATAR_BIG)
Expand Down

0 comments on commit 2cfa844

Please sign in to comment.