{% extends shell('app') %} {% block title %}{{ _('Confirm it is you') }}{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}

{{ _('Confirm it is you') }}

{% with messages = get_flashed_messages(with_categories=true) %} {% for category, message in messages %} {% endfor %} {% endwith %}

{{ _('What comes next gives your account a new way in, so it asks for a sign-in made a moment ago.') }}

{% if user.has_usable_password %}
{{ form.hidden_tag() }} {% if error %} {% endif %}
{{ form.password.label(class="form-label fw-semibold") }} {{ form.password(class="form-control" ~ (" is-invalid" if error else ""), autocomplete="current-password") }}
{{ form.submit(class="btn btn-primary") }}
{% endif %} {# Another way to prove who you are, such as signing in again with a provider the account is connected to. #} {% set methods = render_template_hooks("auth.reauthenticate.methods") %} {% if methods %}
{% if user.has_usable_password %}{{ _('or confirm with') }}{% endif %} {{ methods }}
{% elif not user.has_usable_password %}

{{ _('Log out and log in again to go on.') }}

{{ _('Log out') }} {% endif %}
{% endblock %}