]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/open_id_authentication/lib/open_id_authentication.rb
Remove monkey patch added for rails 2
[rails.git] / vendor / plugins / open_id_authentication / lib / open_id_authentication.rb
index b3550497626677a64ab6b4dea06d577f6d923ea0..ed875cd68f871e47c6f37a15d4c36c4f67550c1d 100644 (file)
@@ -112,7 +112,8 @@ module OpenIdAuthentication
       case response.status
       when OpenID::Consumer::SUCCESS
         yield Result[:successful], identifier,
-          OpenID::SReg::Response.from_success_response(response)
+          OpenID::SReg::Response.from_success_response(response),
+          OpenID::AX::FetchResponse.from_success_response(response)
       when :missing
         yield Result[:missing], identifier, nil
       when :invalid