2025-04-08 09:12:14 +00:00
|
|
|
|
2025-12-14 13:40:30 +00:00
|
|
|
<div class="action-card">
|
|
|
|
|
<div class="action-card-header">
|
|
|
|
|
<p class="action-eyebrow">Account recovery</p>
|
|
|
|
|
<h2 class="action-title">Reset password</h2>
|
|
|
|
|
<p class="action-subtitle">Create a new password that is at least 8 characters long</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="action-card-body">
|
|
|
|
|
<form method="post" action="?page=login&action=reset&token=<?= htmlspecialchars(urlencode($token)) ?>" class="action-form" novalidate>
|
2025-04-16 10:11:51 +00:00
|
|
|
<?php include CSRF_TOKEN_INCLUDE; ?>
|
2025-12-14 13:40:30 +00:00
|
|
|
<div class="action-form-group">
|
|
|
|
|
<label for="new_password" class="action-form-label">New password</label>
|
|
|
|
|
<div class="input-group">
|
2025-11-19 19:54:51 +00:00
|
|
|
<span class="input-group-text"><i class="fas fa-key"></i></span>
|
|
|
|
|
<input type="password"
|
2025-12-14 13:40:30 +00:00
|
|
|
class="form-control action-form-control"
|
2025-11-19 19:54:51 +00:00
|
|
|
id="new_password"
|
|
|
|
|
name="new_password"
|
|
|
|
|
placeholder="Enter new password"
|
|
|
|
|
required
|
|
|
|
|
minlength="8"
|
|
|
|
|
autocomplete="new-password">
|
2025-04-08 09:12:14 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-12-14 13:40:30 +00:00
|
|
|
|
|
|
|
|
<div class="action-form-group">
|
|
|
|
|
<label for="confirm_password" class="action-form-label">Confirm password</label>
|
|
|
|
|
<div class="input-group">
|
2025-11-19 19:54:51 +00:00
|
|
|
<span class="input-group-text"><i class="fas fa-check"></i></span>
|
|
|
|
|
<input type="password"
|
2025-12-14 13:40:30 +00:00
|
|
|
class="form-control action-form-control"
|
2025-11-19 19:54:51 +00:00
|
|
|
id="confirm_password"
|
|
|
|
|
name="confirm_password"
|
2025-12-14 13:40:30 +00:00
|
|
|
placeholder="Confirm new password"
|
2025-11-19 19:54:51 +00:00
|
|
|
required
|
|
|
|
|
minlength="8"
|
|
|
|
|
autocomplete="new-password">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-12-14 13:40:30 +00:00
|
|
|
|
|
|
|
|
<div class="action-actions">
|
|
|
|
|
<button type="submit" class="btn btn-primary">
|
|
|
|
|
<i class="fas fa-lock me-2"></i>Update password
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
2025-11-19 19:54:51 +00:00
|
|
|
</form>
|
2025-12-14 13:40:30 +00:00
|
|
|
|
|
|
|
|
<div class="mt-4 text-center">
|
|
|
|
|
<a href="?page=login" class="text-decoration-none">← Back to login</a>
|
|
|
|
|
</div>
|
2025-04-08 09:12:14 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|