KEYCLOAK-298 If admin or accnt mngmt cookies are invalid, the identity cookie was expired by mistake

This commit is contained in:
Stian Thorgersen 2014-02-19 11:12:59 +00:00
parent 249aa0177b
commit e9750c3d70

View file

@ -198,7 +198,7 @@ public class AuthenticationManager {
return auth;
} catch (VerificationException e) {
logger.debug("Failed to verify identity cookie", e);
expireIdentityCookie(realm, uriInfo);
expireCookie(cookie.getName(), cookie.getPath());
}
return null;
}