Merge pull request #3349 from stianst/KEYCLOAK-2741

KEYCLOAK-2741
This commit is contained in:
Stian Thorgersen 2016-10-18 19:39:54 +02:00 committed by GitHub
commit e41d11877f

View file

@ -121,7 +121,6 @@ public class AuthenticationManager {
UserSessionModel cookieSession = session.sessions().getUserSession(realm, token.getSessionState()); UserSessionModel cookieSession = session.sessions().getUserSession(realm, token.getSessionState());
if (cookieSession == null || !cookieSession.getId().equals(userSession.getId())) return; if (cookieSession == null || !cookieSession.getId().equals(userSession.getId())) return;
expireIdentityCookie(realm, uriInfo, connection); expireIdentityCookie(realm, uriInfo, connection);
expireRememberMeCookie(realm, uriInfo, connection);
} catch (Exception e) { } catch (Exception e) {
} }