summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-10-16 22:27:32 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-10-16 22:27:32 -0700
commita6d3d60e42c9002cb949c05ee095986fb2a94ddc (patch)
tree1c5d1e36c89511035e7f098998d0ea9b25bfea7a /projecttemplates/WebFormsRelyingParty
parent0c71a79a099eb31c0a2f0b4b7231c4f42c35ed95 (diff)
downloadDotNetOpenAuth-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.js3
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.');