Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

implement clearCookie

  • Loading branch information...
commit 00d205892d44c8f4121dd3d1bf6f4c6f5c7b4cb4 1 parent a3f2c11
@beerriot beerriot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/wriaki/priv/www/js/wriaki.js
View
2  apps/wriaki/priv/www/js/wriaki.js
@@ -41,7 +41,7 @@ function readCookie(name) {
}
function clearCookie(name) {
- alert("TODO: clear "+name+" cookie");
+ document.cookie = name + '=; path=/; expires=Thu, 01-Jan-70 00:00:01 GMT;';
}
function loginSignupSuccess() {
Please sign in to comment.
Something went wrong with that request. Please try again.