Jun 29 - Update app name, and documents
This commit is contained in:
+2
-2
@@ -191,12 +191,12 @@ def forgot_password():
|
||||
reset_url = url_for("auth.reset_password", token=token, _external=True)
|
||||
body = (
|
||||
f"Hi {user.get('full_name') or user['username']},\n\n"
|
||||
f"A password reset was requested for your Website Checker account.\n"
|
||||
f"A password reset was requested for your Bid Checker account.\n"
|
||||
f"Click the link below to set a new password (valid for 1 hour):\n\n"
|
||||
f"{reset_url}\n\n"
|
||||
f"If you did not request this, you can safely ignore this email.\n"
|
||||
)
|
||||
send_email(user["email"], "Website Checker — Password Reset", body)
|
||||
send_email(user["email"], "Bid Checker — Password Reset", body)
|
||||
except Exception as e:
|
||||
logger.error(f"Password reset email error for '{email}': {e}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user