1
0
Fork 0
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:
Bobby Marko 2011-05-06 16:55:04 -07:00
parent e31acbcdb6
commit f016e035be

View file

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