04/28 Updated sprint 3
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user