KEYCLOAK-2516
This commit is contained in:
parent
e506e385f1
commit
7c9dbdfc91
1 changed files with 2 additions and 2 deletions
|
@ -71,9 +71,9 @@ public class CatalinaUserSessionManagement implements SessionListener {
|
|||
|
||||
protected void logoutSession(Session session) {
|
||||
try {
|
||||
session.expire();
|
||||
if (session != null) session.expire();
|
||||
} catch (Exception e) {
|
||||
log.warn("Session not present or already invalidated.", e);
|
||||
log.debug("Session not present or already invalidated.", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue