diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-10-16 22:27:32 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-10-16 22:27:32 -0700 |
commit | a6d3d60e42c9002cb949c05ee095986fb2a94ddc (patch) | |
tree | 1c5d1e36c89511035e7f098998d0ea9b25bfea7a /projecttemplates/WebFormsRelyingParty | |
parent | 0c71a79a099eb31c0a2f0b4b7231c4f42c35ed95 (diff) | |
download | DotNetOpenAuth-a6d3d60e42c9002cb949c05ee095986fb2a94ddc.zip DotNetOpenAuth-a6d3d60e42c9002cb949c05ee095986fb2a94ddc.tar.gz DotNetOpenAuth-a6d3d60e42c9002cb949c05ee095986fb2a94ddc.tar.bz2 |
Temporarily replaced the postback with an alert indicating authentication completed successfully.
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty')
-rw-r--r-- | projecttemplates/WebFormsRelyingParty/scripts/LoginPopup.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/scripts/LoginPopup.js b/projecttemplates/WebFormsRelyingParty/scripts/LoginPopup.js index 4af2b4b..5464a85 100644 --- a/projecttemplates/WebFormsRelyingParty/scripts/LoginPopup.js +++ b/projecttemplates/WebFormsRelyingParty/scripts/LoginPopup.js @@ -34,7 +34,8 @@ var openid = new window.OpenIdIdentifier(identifier); if (openid) { openid.login(function(discoveryResult, respondingEndpoint, extensionResponses) { - window.postLoginAssertion(respondingEndpoint.response, window.parent.location.href); + alert("Woot! We've logged you in as " + respondingEndpoint.claimedIdentifier); + //window.postLoginAssertion(respondingEndpoint.response, window.parent.location.href); }); } else { trace('doLogin called without an identifier.'); |