Skip to content

Commit

Permalink
parse user uid and email into user_info hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Litvinenko committed Aug 10, 2011
1 parent a6b3ce9 commit d565ba0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oa-oauth/lib/omniauth/strategies/oauth/dropbox.rb
Expand Up @@ -31,6 +31,8 @@ def user_data
def user_info
{
'name' => user_data['display_name'],
'uid' => user_data['uid'],
'email' => user_data['email']
}
end
end
Expand Down

0 comments on commit d565ba0

Please sign in to comment.