mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
switched nickname to pull from facebook username instead of the end of the users profile url
This commit is contained in:
parent
e31acbcdb6
commit
f016e035be
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module OmniAuth
|
|||
|
||||
def user_info
|
||||
{
|
||||
'nickname' => user_data["link"].split('/').last,
|
||||
'nickname' => user_data["username"],
|
||||
'email' => (user_data["email"] if user_data["email"]),
|
||||
'first_name' => user_data["first_name"],
|
||||
'last_name' => user_data["last_name"],
|
||||
|
|
Loading…
Reference in a new issue