Skip to content

Commit

Permalink
fix Mailru mapUserToObject id attribute (#847)
Browse files Browse the repository at this point in the history
Co-authored-by: atymic <atymicq@gmail.com>
  • Loading branch information
Cellard and atymic authored May 23, 2022
1 parent 14436fd commit 10ede84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function getUserByToken($token)
protected function mapUserToObject(array $user)
{
return (new User())->setRaw($user)->map([
'id' => $user['email'],
'id' => $user['id'],
'nickname' => $user['nickname'],
'name' => $user['name'],
'email' => $user['email'],
Expand Down

0 comments on commit 10ede84

Please sign in to comment.