From be69613098dd2ed483156fc61163cdb98844fa3d Mon Sep 17 00:00:00 2001 From: Rsl1122 <24460436+Rsl1122@users.noreply.github.com> Date: Sun, 3 Jul 2022 11:35:51 +0300 Subject: [PATCH] Ignore non-auth cookies without value --- .../delivery/webserver/resolver/auth/LogoutResolver.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/resolver/auth/LogoutResolver.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/resolver/auth/LogoutResolver.java index 21f8d34f5..454b971a2 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/resolver/auth/LogoutResolver.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/webserver/resolver/auth/LogoutResolver.java @@ -48,9 +48,8 @@ public class LogoutResolver implements NoAuthResolver { String[] split = cookie.split("="); String name = split[0]; if ("auth".equals(name) && split.length > 1) { - SfoundCookie = split[1]; - foundCookie = value; - activeCookieStore.removeCookie(value); + foundCookie = split[1]; + activeCookieStore.removeCookie(foundCookie); } }