Skip to content

Commit

Permalink
set nickname to null in GoogleProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
falconsmilie committed Feb 14, 2024
1 parent d189561 commit 4481ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Two/GoogleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function mapUserToObject(array $user)

return (new User)->setRaw($user)->map([
'id' => Arr::get($user, 'sub'),
'nickname' => Arr::get($user, 'nickname'),
'nickname' => null,
'name' => Arr::get($user, 'name'),
'email' => Arr::get($user, 'email'),
'avatar' => $avatarUrl = Arr::get($user, 'picture'),
Expand Down

0 comments on commit 4481ed1

Please sign in to comment.