06/08 Add Forgot password function

This commit is contained in:
2026-06-08 11:01:01 -04:00
parent 52ae37069d
commit 51c91e55c8
5 changed files with 372 additions and 4 deletions
+6 -2
View File
@@ -246,8 +246,12 @@
</div>
<div class="mb-4">
{{ form.password.label(class="form-label fw-semibold") }}
{{ form.password(class="form-control form-control-lg", placeholder="Enter password") }}
<div class="d-flex justify-content-between align-items-baseline">
{{ form.password.label(class="form-label fw-semibold mb-0") }}
<a href="{{ url_for('auth.forgot_password') }}"
class="small text-muted text-decoration-none">Forgot password?</a>
</div>
{{ form.password(class="form-control form-control-lg mt-1", placeholder="Enter password") }}
{% if form.password.errors %}
<div class="text-danger small mt-1">
{% for error in form.password.errors %}{{ error }}{% endfor %}