Permalink
Browse files

auth response can also be a POST

  • Loading branch information...
1 parent bdd3914 commit 200e7e30000e0d2bf02a6d1490cf477678d1311b @josh josh committed Feb 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/openid.rb
View
2 lib/rack/openid.rb
@@ -91,7 +91,7 @@ def initialize(app, store = nil)
# returns a <tt>[status, header, body]</tt> response.
def call(env)
req = Rack::Request.new(env)
- if env["REQUEST_METHOD"] == "GET" && req.GET["openid.mode"]
+ if req.params["openid.mode"]
complete_authentication(env)
end

0 comments on commit 200e7e3

Please sign in to comment.