debug: log user/verify request fields (excluding password)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -201,6 +201,8 @@ async def user_verify(request: Request, db: Session = Depends(get_db)):
|
|||||||
except Exception:
|
except Exception:
|
||||||
return JSONResponse({"error": "Invalid JSON"}, status_code=400)
|
return JSONResponse({"error": "Invalid JSON"}, status_code=400)
|
||||||
|
|
||||||
|
logger.info("user/verify body=%s", {k: v for k, v in body.items() if k != "password"})
|
||||||
|
|
||||||
evotor_user_id: str = body.get("userId", "")
|
evotor_user_id: str = body.get("userId", "")
|
||||||
username: str = body.get("username", "").strip()
|
username: str = body.get("username", "").strip()
|
||||||
phone: str = body.get("phone", "").strip()
|
phone: str = body.get("phone", "").strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user