Image URL not present within Google Identity

Image url is set to incorrect key within the User Object.;
1.0
Robert Pitt 2014-01-17 14:42:53 +00:00
parent e1dac23e2e
commit be12622ce6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}