From 94f9f4b76fef5360221e523abb7d7ae47c5f384c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 3 Oct 2010 14:24:45 +0100 Subject: [PATCH] Pass any AX response to the callback along with the SReg response --- .../open_id_authentication/lib/open_id_authentication.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.2