{# _auth_main_reset_password.html — reset-password form column. Renders
standalone for HTMX fragment responses. Expected context: csrf_token, token, invalid_token, success, error, app_name, is_production #} {% import "_partials/_auth_macros.html" as auth %}
{{ auth.kicker(app_name, "Reset password") }}

Set new password

Choose a new password for your account.

{% if invalid_token %} {% set flash = { "kind": "err", "message": "This password reset link is invalid or has expired." } %}
{% include "_partials/_flash.html" %}

Request a new reset link

{% elif success %} {% set flash = { "kind": "ok", "message": "Your password has been reset. You can now log in with your new password." } %}
{% include "_partials/_flash.html" %}

Log in

{% else %} {% if error %} {% set flash = { "kind": "err", "message": error } %}
{% include "_partials/_flash.html" %}
{% endif %}
{% endif %}