summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/openid/htdocs/login/index.html
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-12-03 03:59:11 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-12-03 03:59:11 +0000
commit6f3e045ffeef4645a182ccc80ecd37e1803dd44d (patch)
tree2a55c5539572b078441ebbfefb4ccff95473da3a /sca-cpp/trunk/modules/openid/htdocs/login/index.html
parent24c08a82eb98c5b17901752866b8e4dbe5ee46a8 (diff)
Reset auth cookie before re-auth in login page.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041680 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/openid/htdocs/login/index.html')
-rw-r--r--sca-cpp/trunk/modules/openid/htdocs/login/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/openid/htdocs/login/index.html b/sca-cpp/trunk/modules/openid/htdocs/login/index.html
index 17e85ffd05..493227addc 100644
--- a/sca-cpp/trunk/modules/openid/htdocs/login/index.html
+++ b/sca-cpp/trunk/modules/openid/htdocs/login/index.html
@@ -46,6 +46,7 @@ if (typeof(openidReferrer()) == 'undefined') {
}
function submitSignin(w) {
+ document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE';
document.signin.openid_identifier.value = w();
document.signin.action = openidReferrer();
document.signin.submit();