From e5a55a02d1ce7708f49d05d96a6379fdb42c4735 Mon Sep 17 00:00:00 2001 From: mguschin Date: Sun, 24 May 2026 17:25:33 +0300 Subject: [PATCH] debug: log user/verify request fields (excluding password) Co-Authored-By: Claude Sonnet 4.6 --- web/routes/evotor_webhooks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/routes/evotor_webhooks.py b/web/routes/evotor_webhooks.py index 5f8439e..c8d4d86 100644 --- a/web/routes/evotor_webhooks.py +++ b/web/routes/evotor_webhooks.py @@ -201,6 +201,8 @@ async def user_verify(request: Request, db: Session = Depends(get_db)): except Exception: 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", "") username: str = body.get("username", "").strip() phone: str = body.get("phone", "").strip()