Skip to content

Commit

Permalink
[OpenID] Feature: Provider\Steam - populate pictureURL from avatarful…
Browse files Browse the repository at this point in the history
…l, fix #117
  • Loading branch information
ovr committed Apr 24, 2020
1 parent aea5c21 commit b57bec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Provider/Steam.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ public function getIdentity(AccessTokenInterface $accessToken)
$hydrator = new ArrayHydrator([
'steamid' => 'id',
'personaname' => 'username',
'realname' => 'fullname'
'realname' => 'fullname',
'avatarfull' => 'pictureURL',
]);

return $hydrator->hydrate(new User(), $response['response']['players'][0]);
Expand Down

0 comments on commit b57bec2

Please sign in to comment.