Fix incorrect cookie name in sample logout pages.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1056189 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jsdelfino 2011-01-07 04:32:41 +00:00
parent 6860b985ae
commit bd31568ed9
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@
<form name="signout" action="/login" method="GET">
<script type="text/javascript">
function submitSignout() {
document.cookie = 'TuscanyFormAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE';
document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE';
document.signout.submit();
return true;
}

View file

@ -23,7 +23,7 @@
<form name="signout" action="/login" method="GET">
<script type="text/javascript">
function submitSignout() {
document.cookie = 'TuscanyFormAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE';
document.cookie = 'TuscanyOpenAuth=;expires=' + new Date(1970,01,01).toGMTString() + ';path=/;secure=TRUE';
document.signout.submit();
return true;
}