better password management

This commit is contained in:
2025-06-04 13:44:49 +02:00
parent 88c3bc1b5b
commit 41cdd5ec7f
24 changed files with 246 additions and 10 deletions

View File

@@ -16,7 +16,10 @@ def create_default_templates():
'body': '''
<h2>Welcome to DocuPulse!</h2>
<p>Dear {{ user.username }},</p>
<p>Your account has been successfully created. You can now log in and start using DocuPulse.</p>
<p>Your account has been successfully created by {{ created_by }}. To get started, you need to set up your password.</p>
<p>Click the link below to set up your password (this link will expire in 24 hours):</p>
<p><a href="{{ setup_link }}">Set Up Password</a></p>
<p>If you didn't receive this email or if the link has expired, please contact your administrator to request a new password setup link.</p>
<p>If you have any questions, please don't hesitate to contact our support team.</p>
<p>Best regards,<br>The DocuPulse Team</p>
'''