diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-14 07:10:15 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-14 07:10:15 +0000 |
commit | 4bf0a7052b448315eda710857acafe24bb112a5b (patch) | |
tree | 89b47bf8471da886a2c523721d76c6ebd5860c28 /sca-cpp/trunk/modules/edit/htdocs/logout/index.html | |
parent | 1b4cab13b70f2d596ecb98e81073dbb45e0e85df (diff) |
Change authentication scheme from Form based auth to OpenID + OAuth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1201614 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/htdocs/logout/index.html')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/logout/index.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/logout/index.html b/sca-cpp/trunk/modules/edit/htdocs/logout/index.html index f5dd06ee99..133b6b7348 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/logout/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/logout/index.html @@ -32,16 +32,18 @@ <h1>Sign out</h1> -<form name="signout" onsubmit="submitSignout();" action="/" method="GET"> +<form name="signout" onsubmit="submitSignout();" action="/login/" method="GET"> <input type="submit" id="signOut" value="Sign out" class="graybutton" style="font-weight: bold"/> </form> <script type="text/javascript"> function submitSignout() { - // Clear session cookie and local storage + // Clear session cookie and user-specific local storage entries var reset = 'TuscanyOpenAuth=; expires=' + new Date(1970,01,01).toGMTString() + '; domain=.' + domainname(window.location.hostname) + '; path=/'; document.cookie = reset; - localStorage.clear(); + localStorage.removeItem('/r/EditWidget/accounts'); + localStorage.removeItem('/r/EditWidget/dashboards'); + //localStorage.clear(); document.signout.submit(); return true; } |