diff options
Diffstat (limited to 'sca-cpp/trunk/samples/store-cluster/htdocs/login')
-rw-r--r-- | sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html index c187aa2a84..2eecc74b92 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html @@ -46,6 +46,7 @@ if (typeof(openauthReferrer()) == 'undefined') { } function submitOpenIDSignin(w) { + document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE'; document.openIDSignin.openid_identifier.value = w(); document.openIDSignin.action = openauthReferrer(); document.openIDSignin.submit(); @@ -93,6 +94,7 @@ function withXRDSEndpoint() { function submitOAuth2Signin(w) { parms = w(); + document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE'; document.oauth2Signin.mod_oauth2_authorize.value = parms[0]; document.oauth2Signin.mod_oauth2_access_token.value = parms[1]; document.oauth2Signin.mod_oauth2_client_id.value = parms[2]; @@ -113,6 +115,7 @@ function withGithub() { function submitOAuth1Signin(w) { parms = w(); + document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE'; document.oauth1Signin.mod_oauth1_request_token.value = parms[0]; document.oauth1Signin.mod_oauth1_authorize.value = parms[1]; document.oauth1Signin.mod_oauth1_access_token.value = parms[2]; |