From 452a67234ea8c9a61ffcd3af20725855f7f0eacf Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 15 Jan 2017 22:44:06 +0300 Subject: stop setting invalid cookie on logout --- juick-www/src/main/java/com/juick/www/controllers/Login.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'juick-www/src/main/java/com/juick/www') 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); -- cgit v1.2.3