mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Fix backend error
This commit is contained in:
@@ -190,7 +190,7 @@ def _render_security(action: str, fields: Dict[str, Any]) -> List[str]:
|
||||
lines.append(f"Total entries: {total}")
|
||||
return lines
|
||||
if action == "blocked_user_agent":
|
||||
action_type = fields.get("action", "access")
|
||||
action_type = fields.get("action_type", "access")
|
||||
lines = [f"Blocked user agent attempted {action_type}"]
|
||||
if fields.get("username"):
|
||||
lines.append(f"Username: {fields['username']}")
|
||||
|
||||
Reference in New Issue
Block a user