Skip to content

Commit

Permalink
Omniauth versions from 1.0 use 'info' instead of 'user_info', see htt…
Browse files Browse the repository at this point in the history
  • Loading branch information
Iain Barnett committed Jun 6, 2012
1 parent 21a2b94 commit 73b62fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/warden_omniauth.rb
Expand Up @@ -4,7 +4,7 @@
class WardenOmniAuth
DEFAULT_CALLBACK = lambda do |user|
u = {}
u[:user_info] = user['user_info']
u[:info] = user['info']
u[:uid] = user['uid']
u[:credentials] = user['credentials']
u[:provider] = user['provider']
Expand Down

0 comments on commit 73b62fd

Please sign in to comment.