Ignore non-auth cookies without value

This commit is contained in:
Rsl1122 2022-07-03 11:35:51 +03:00
parent 38e3ef9ac0
commit be69613098

View File

@ -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);
}
}