mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Merge pull request #323 from meduza/patch-1
Vkontakte strategy: Fix user_info hash parameter 'firstname' to 'first_name' like many other
This commit is contained in:
commit
159535356a
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module OmniAuth
|
|||
|
||||
def user_info
|
||||
{
|
||||
'firstname' => @data['first_name'],
|
||||
'first_name' => @data['first_name'],
|
||||
'last_name' => @data['last_name'],
|
||||
'name' => "#{@data['first_name']} #{@data['last_name']}",
|
||||
'nickname' => @data['nickname'],
|
||||
|
|
Loading…
Reference in a new issue