mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 17:51:13 -05:00
Refactor code structure and remove redundant changes
This commit is contained in:
47
django-backend/templates/emails/password_reset.html
Normal file
47
django-backend/templates/emails/password_reset.html
Normal file
@@ -0,0 +1,47 @@
|
||||
{% extends "emails/base.html" %}
|
||||
|
||||
{% block title %}Reset Your Password - ThrillWiki{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Password Reset Request</h2>
|
||||
|
||||
<p>Hello {{ user.first_name|default:user.email }},</p>
|
||||
|
||||
<p>We received a request to reset the password for your ThrillWiki account.</p>
|
||||
|
||||
<div class="info-box">
|
||||
<p><strong>Account:</strong> {{ user.email }}</p>
|
||||
<p><strong>Request time:</strong> {{ request_time|date:"F d, Y g:i A" }}</p>
|
||||
</div>
|
||||
|
||||
<p>Click the button below to reset your password:</p>
|
||||
|
||||
<div style="text-align: center; margin: 30px 0;">
|
||||
<a href="{{ reset_url }}" class="button">Reset Password</a>
|
||||
</div>
|
||||
|
||||
<p style="font-size: 14px; color: #666;">
|
||||
Or copy and paste this link into your browser:<br>
|
||||
<code style="background: #f5f5f5; padding: 5px 10px; display: inline-block; margin-top: 5px; border-radius: 4px; word-break: break-all;">{{ reset_url }}</code>
|
||||
</p>
|
||||
|
||||
<div class="warning-box">
|
||||
<p><strong>⚠️ Security Notice:</strong></p>
|
||||
<ul style="margin: 10px 0; padding-left: 20px;">
|
||||
<li>This link will expire in <strong>{{ expiry_hours }} hours</strong></li>
|
||||
<li>This link can only be used once</li>
|
||||
<li>If you didn't request this reset, you can safely ignore this email</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h3>Didn't request this?</h3>
|
||||
<p>If you didn't request a password reset, your account may be at risk. Please:</p>
|
||||
<ol style="margin: 10px 0; padding-left: 20px;">
|
||||
<li>Log in to your account immediately</li>
|
||||
<li>Change your password as a precaution</li>
|
||||
<li>Contact our support team if you notice any suspicious activity</li>
|
||||
</ol>
|
||||
|
||||
<p style="margin-top: 30px;">Stay safe!</p>
|
||||
<p><strong>The ThrillWiki Team</strong></p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user