{% extends "auth_layout.html" %} {% block title %}{% if purpose == "change" %}Choose a New Password{% else %}Two-Step Verification{% endif %}{% endblock %} {% block heading %}{% if purpose == "change" %}Choose a new password{% elif purpose == "enrol" %}Set up your second step{% else %}Check your sign-in{% endif %}{% endblock %} {% block content %} {% if factor_notice %}
{{ reason_text }} Use at least {{ min_length }} characters. Changing it signs you out everywhere else.
{% elif purpose == "enrol" and not totp %} {# warden named no kind this screen can enrol: nothing to set up here. #} {% elif purpose == "enrol" %}{% if not webauthn %}Every password sign-in now needs a second factor, and your account does not have one yet. {% endif %}Set up an authenticator app to continue: scan the code with the app, or enter the key by hand, then type the six-digit code it shows.
{% include "_totp_enrolment.html" %} {% else %} {% if totp %}Enter the code from your authenticator app to finish signing in.
{% endif %}