Skip to content

Commit

Permalink
Do not overwrite steam nickname if any displayName was set, instead s…
Browse files Browse the repository at this point in the history
…ave it to firstName as it's more approriate.
  • Loading branch information
waitekk committed Jun 27, 2013
1 parent 6d89473 commit 0a8cab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion additional-providers/hybridauth-steam/Providers/Steam.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function loginFinish()
$realname = (string) $data->{'realname'};

if( $realname ){
$this->user->profile->displayName = $realname;
$this->user->profile->firstName = $realname;
}

$customURL = (string) $data->{'customURL'};
Expand Down

0 comments on commit 0a8cab6

Please sign in to comment.