diff --git a/app/routes/user.py b/app/routes/user.py index 4065aae..307a35a 100644 --- a/app/routes/user.py +++ b/app/routes/user.py @@ -476,7 +476,7 @@ async def reset_password( try: # Invia l'email con il token await EmailService().send_email( - to=[user.get("_id")], + to=[user_data.email], subject="[Suppl-AI] Password Reset", body=f""" @@ -491,7 +491,7 @@ async def reset_password(
SUPPL-AI
-
Ciao {html.escape(user.get('name'))},
+
Ciao {user.get('name')},
Ecco la tua nuova password temporanea: