Skip to content

Commit

Permalink
Avoid infinite recursion, but allow the app to handle the error somewhat
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information
halorgium authored and josh committed Apr 17, 2009
1 parent 531262c commit 5e9d80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/openid.rb
Expand Up @@ -91,7 +91,7 @@ def begin_authentication(env, qs)
return redirect_to(url)
rescue ::OpenID::OpenIDError, Timeout::Error => e
env[RESPONSE] = MissingResponse.new
return self.call(env)
return @app.call(env)
end
end

Expand Down

0 comments on commit 5e9d80b

Please sign in to comment.