password reset

This commit is contained in:
2025-06-19 16:11:42 +02:00
parent efdb6d50c3
commit 7092167001
20 changed files with 680 additions and 72 deletions

View File

@@ -30,9 +30,11 @@ def create_default_templates():
'body': '''
<h2>Password Reset Request</h2>
<p>Dear {{ user.username }},</p>
<p>We received a request to reset your password. Click the link below to set a new password:</p>
<p><a href="{{ reset_link }}">Reset Password</a></p>
<p>If you didn't request this, please ignore this email or contact support if you have concerns.</p>
<p>We received a request to reset your password for your DocuPulse account. Click the link below to set a new password:</p>
<p><a href="{{ reset_link }}" style="background-color: #16767b; color: white; padding: 12px 24px; text-decoration: none; border-radius: 5px; display: inline-block; margin: 10px 0;">Reset Password</a></p>
<p><strong>This link will expire in 1 hour.</strong></p>
<p>If you didn't request this password reset, please ignore this email. Your password will remain unchanged.</p>
<p>If you have any concerns about your account security, please contact your administrator immediately.</p>
<p>Best regards,<br>The DocuPulse Team</p>
'''
},