1
0
Fork 0
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:
Erik Michaels-Ober 2011-05-12 11:55:21 -07:00
commit 159535356a

View file

@ -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'],