aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-01-15 22:44:06 +0300
committerGravatar Vitaly Takmazov2017-01-15 22:44:06 +0300
commit452a67234ea8c9a61ffcd3af20725855f7f0eacf (patch)
tree691c1c4ed99f9e94cb8bb98e35b534829ec0fc27
parentfa85c4750e5bdb532723e52ae5d775af67028e73 (diff)
stop setting invalid cookie on logout
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/Login.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/Login.java b/juick-www/src/main/java/com/juick/www/controllers/Login.java
index 5c035067..c9056f22 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/Login.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/Login.java
@@ -244,11 +244,6 @@ public class Login {
userService.logout(visitor.getUid());
}
- Cookie c = new Cookie("hash", "-");
- c.setDomain(".juick.com");
- c.setMaxAge(0);
- response.addCookie(c);
-
Cookie c2 = new Cookie("hash", "-");
c2.setMaxAge(0);
response.addCookie(c2);