hotfix
This commit is contained in:
parent
b0fbde1ad4
commit
a2deeb3fd9
@ -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",
|
||||
|
||||
2
main.py
2
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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user