summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-python/htdocs/logout/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/samples/store-python/htdocs/logout/index.html')
-rw-r--r--sca-cpp/trunk/samples/store-python/htdocs/logout/index.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/sca-cpp/trunk/samples/store-python/htdocs/logout/index.html b/sca-cpp/trunk/samples/store-python/htdocs/logout/index.html
index 5f7880d626..452fa7399d 100644
--- a/sca-cpp/trunk/samples/store-python/htdocs/logout/index.html
+++ b/sca-cpp/trunk/samples/store-python/htdocs/logout/index.html
@@ -33,8 +33,7 @@
<form name="signout" action="/login" method="GET">
<script type="text/javascript">
function submitSignout() {
- var reset = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';domain=.' + domainname(window.location.hostname) + ';path=/;secure=TRUE';
- document.cookie = reset;
+ clearauthcookie();
document.signout.submit();
return true;
}