summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/openid/htdocs/login/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/openid/htdocs/login/index.html')
-rw-r--r--sca-cpp/trunk/modules/openid/htdocs/login/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/openid/htdocs/login/index.html b/sca-cpp/trunk/modules/openid/htdocs/login/index.html
index 32a0dca608..a90b669dd7 100644
--- a/sca-cpp/trunk/modules/openid/htdocs/login/index.html
+++ b/sca-cpp/trunk/modules/openid/htdocs/login/index.html
@@ -56,7 +56,8 @@ if (typeof(openidReferrer()) == 'undefined') {
}
function submitSignin(w) {
- document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE';
+ var reset = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';domain=.' + domainname(window.location.hostname) + ';path=/;secure=TRUE';
+ document.cookie = reset;
document.signin.openid_identifier.value = w();
document.signin.action = openidReferrer();
document.signin.submit();