diff options
Diffstat (limited to 'sca-cpp/trunk/samples/store-python/htdocs/login')
-rw-r--r-- | sca-cpp/trunk/samples/store-python/htdocs/login/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-cpp/trunk/samples/store-python/htdocs/login/index.html b/sca-cpp/trunk/samples/store-python/htdocs/login/index.html index f4bdcd7f42..8b0ad48bd6 100644 --- a/sca-cpp/trunk/samples/store-python/htdocs/login/index.html +++ b/sca-cpp/trunk/samples/store-python/htdocs/login/index.html @@ -31,7 +31,8 @@ <script type="text/javascript"> function submitFormSignin() { - 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.formSignin.httpd_location.value = '/'; document.formSignin.submit(); } |