From a2deeb3fd9c27f7d0c7d575987ba860b2745c6e39fa7c24c4d3f84d5f95dade7 Mon Sep 17 00:00:00 2001 From: vladislav Date: Thu, 10 Sep 2026 06:43:27 -0400 Subject: [PATCH] hotfix --- main.ipynb | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ipynb b/main.ipynb index aca6cc5..ba67a51 100644 --- a/main.ipynb +++ b/main.ipynb @@ -1985,7 +1985,7 @@ " {\"$set\": {\"hashed_password\": hashed_password}}\n", " )\n", " \n", - " return {\"ok\": True, \"message\": \"Пароль успешно изменён\", \"next\": token_data.get('next', '/profile')}\n", + " return {\"ok\": True, \"message\": \"Пароль успешно изменён\", \"next\": '/profile'}\n", "\n", "\n", "@router.post(\"/api/reset-password\")\n", diff --git a/main.py b/main.py index 8f0a914..08ade14 100644 --- a/main.py +++ b/main.py @@ -1502,7 +1502,7 @@ async def reset_password_user( {"$set": {"hashed_password": hashed_password}} ) - return {"ok": True, "message": "Пароль успешно изменён", "next": token_data.get('next', '/profile')} + return {"ok": True, "message": "Пароль успешно изменён", "next": '/profile'} @router.post("/api/reset-password")