commit
0fea54ebb5
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