feat: update suspicious activity display to show last 10 requests and improve database filtering

This commit is contained in:
Lorenzo Venerandi
2026-02-28 18:12:40 +01:00
parent 3d8178ff0e
commit 368265dea4
3 changed files with 9 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ async def dashboard_page(request: Request):
# Get initial data for server-rendered sections
stats = db.get_dashboard_counts()
suspicious = db.get_recent_suspicious(limit=20)
suspicious = db.get_recent_suspicious(limit=10)
# Get credential count for the stats card
cred_result = db.get_credentials_paginated(page=1, page_size=1)