Image URL not present within Google Identity
Image url is set to incorrect key within the User Object.;1.0
parent
e1dac23e2e
commit
be12622ce6
|
@ -35,7 +35,7 @@ class Google extends IdentityProvider
|
|||
$user->firstName = $response['given_name'];
|
||||
$user->lastName = $response['family_name'];
|
||||
$user->email = $response['email'];
|
||||
$user->image = (isset($response['picture'])) ? $response['picture'] : null;
|
||||
$user->imageUrl = (isset($response['picture'])) ? $response['picture'] : null;
|
||||
return $user;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue