Permalink
Browse files

Merge pull request #420 from antonlitvinenko/patch-3

(Dropbox oauth strategy) parse user uid and email into user_info hash
  • Loading branch information...
2 parents d5b1bb6 + d565ba0 commit 95802bf362923a69197f2b7bb3398f1cdac70f69 @sferik sferik committed Sep 3, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 oa-oauth/lib/omniauth/strategies/oauth/dropbox.rb
View
2 oa-oauth/lib/omniauth/strategies/oauth/dropbox.rb
@@ -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

0 comments on commit 95802bf

Please sign in to comment.