Mismades were taken

This commit is contained in:
Tim
2025-06-15 15:50:19 +02:00
parent f6b5efb7cc
commit ffe7f1d1cd
2 changed files with 1 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ public class SessionServiceImpl implements SessionService {
if (!session.getAccount().equals(accountEmail)) {
return false;
}
if (session.getTimeout() >= System.currentTimeMillis()) {
if (session.getTimeout() <= System.currentTimeMillis()) {
log.info("Session with email {} is expired", email);
delete(session);
return false;