04/28 Updated sprint 3

This commit is contained in:
2026-04-28 17:13:24 -04:00
parent bfc2f58fe2
commit 84c7f9d045
5 changed files with 48 additions and 51 deletions
+2 -2
View File
@@ -216,8 +216,8 @@ def logout():
try:
login_time = datetime.fromisoformat(login_time_str)
session_duration = (datetime.now() - login_time).total_seconds() / 60 # minutes
except:
pass
except Exception as e:
logger_handler.logger.debug(f"Could not parse login_time for session duration: {e}")
# Log user logout
if user_id and username: