From: Tom Hughes Date: Sun, 3 Oct 2010 13:24:45 +0000 (+0100) Subject: Pass any AX response to the callback along with the SReg response X-Git-Tag: live~6289 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/94f9f4b76fef5360221e523abb7d7ae47c5f384c?ds=sidebyside Pass any AX response to the callback along with the SReg response --- diff --git a/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb b/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb index b35504976..ed875cd68 100644 --- a/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb +++ b/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb @@ -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