Skip to content
This repository was archived by the owner on Jun 7, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/routes/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
<!DOCTYPE html>
Expand All @@ -491,7 +491,7 @@ async def reset_password(
<div class="container">
<div class="header">
<div class="title" style="font-size: 2rem; font-weight: 700; color: #1976d2;">SUPPL-AI</div>
<div class="title">Ciao {html.escape(user.get('name'))},</div>
<div class="title">Ciao {user.get('name')},</div>
</div>
<div class="content">
Ecco la tua nuova password temporanea:
Expand Down