diff options
author | Vitaly Takmazov | 2017-01-15 22:44:06 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-01-15 22:44:06 +0300 |
commit | 452a67234ea8c9a61ffcd3af20725855f7f0eacf (patch) | |
tree | 691c1c4ed99f9e94cb8bb98e35b534829ec0fc27 /juick-www/src/main | |
parent | fa85c4750e5bdb532723e52ae5d775af67028e73 (diff) |
stop setting invalid cookie on logout
Diffstat (limited to 'juick-www/src/main')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/Login.java | 5 |
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); |