From e9750c3d708073c1da9411b14b4f35b01927f18b Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Wed, 19 Feb 2014 11:12:59 +0000 Subject: [PATCH] KEYCLOAK-298 If admin or accnt mngmt cookies are invalid, the identity cookie was expired by mistake --- .../org/keycloak/services/managers/AuthenticationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java b/services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java index 0a02633c7c..5805ba4071 100755 --- a/services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java +++ b/services/src/main/java/org/keycloak/services/managers/AuthenticationManager.java @@ -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; }