Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sending parameters to mailchimp

  • Loading branch information...
commit 098fe2ffba377e15616aeb591b804ecfcce49750 1 parent a81926b
@lucasallan lucasallan authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/omniauth/strategies/mailchimp.rb
View
12 lib/omniauth/strategies/mailchimp.rb
@@ -13,6 +13,12 @@ class Mailchimp < OmniAuth::Strategies::OAuth2
:token_url => '/oauth2/token'
}
+ def request_phase
+ req = Rack::Request.new(@env)
+ options.update(req.params)
+ super
+ end
+
uid {
raw_info["user_id"]
}
@@ -32,12 +38,6 @@ class Mailchimp < OmniAuth::Strategies::OAuth2
}
end
- def request_phase
- req = Rack::Request.new(@env)
- options.update(req.params)
- super
- end
-
def raw_info
@raw_info ||= begin
data = user_data
Please sign in to comment.
Something went wrong with that request. Please try again.