Fix backend error

This commit is contained in:
2025-11-10 22:09:09 +03:00
Unverified
parent f83dcafbf7
commit 22d667093d
3 changed files with 44 additions and 29 deletions
+2 -2
View File
@@ -80,7 +80,7 @@ def login(request: Request, login_request: LoginRequest, db: Session = Depends(g
username=username,
ip=client_ip,
user_agent=raw_ua or "Unknown",
action="login",
action_type="login",
)
raise HTTPException(
status_code=403,
@@ -196,7 +196,7 @@ def register(request: Request, register_request: RegisterRequest, db: Session =
username=username,
ip=client_ip,
user_agent=raw_ua or "Unknown",
action="registration",
action_type="registration",
)
raise HTTPException(
status_code=403,