Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #420 from antonlitvinenko/patch-3

(Dropbox oauth strategy) parse user uid and email into user_info hash
  • Loading branch information...
commit 95802bf362923a69197f2b7bb3398f1cdac70f69 2 parents d5b1bb6 + d565ba0
Erik Michaels-Ober authored September 03, 2011
2  oa-oauth/lib/omniauth/strategies/oauth/dropbox.rb
@@ -31,6 +31,8 @@ def user_data
31 31
       def user_info
32 32
         {
33 33
           'name' => user_data['display_name'],
  34
+          'uid' => user_data['uid'],
  35
+          'email' => user_data['email']
34 36
         }
35 37
       end
36 38
     end

0 notes on commit 95802bf

Please sign in to comment.
Something went wrong with that request. Please try again.