diff options
Diffstat (limited to 'sca-cpp/trunk/modules/oauth/htdocs/logout/index.html')
-rw-r--r-- | sca-cpp/trunk/modules/oauth/htdocs/logout/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/oauth/htdocs/logout/index.html b/sca-cpp/trunk/modules/oauth/htdocs/logout/index.html index 37c2594ffb..267c501b83 100644 --- a/sca-cpp/trunk/modules/oauth/htdocs/logout/index.html +++ b/sca-cpp/trunk/modules/oauth/htdocs/logout/index.html @@ -32,7 +32,8 @@ <form name="signout" action="/login" method="GET"> <script type="text/javascript"> function submitSignout() { - document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE'; + var reset = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';domain=.' + window.location.hostname + ';path=/;secure=TRUE'; + document.cookie = reset; document.signout.submit(); return true; } |