mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Ignore non-auth cookies without value
This commit is contained in:
parent
38e3ef9ac0
commit
be69613098
@ -48,9 +48,8 @@ public class LogoutResolver implements NoAuthResolver {
|
|||||||
String[] split = cookie.split("=");
|
String[] split = cookie.split("=");
|
||||||
String name = split[0];
|
String name = split[0];
|
||||||
if ("auth".equals(name) && split.length > 1) {
|
if ("auth".equals(name) && split.length > 1) {
|
||||||
SfoundCookie = split[1];
|
foundCookie = split[1];
|
||||||
foundCookie = value;
|
activeCookieStore.removeCookie(foundCookie);
|
||||||
activeCookieStore.removeCookie(value);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user