{% extends "auth_layout.html" %} {% block title %}{% if purpose == "change" %}Choose a New Password{% else %}Two-Step Verification{% endif %}{% endblock %} {% block content %} {% if purpose == "change" %}
{{ reason_text }} Use at least {{ min_length }} characters. Changing it signs you out everywhere else.
{% elif purpose == "enrol" %}Your account needs a second factor before you can sign in. Scan the code with an authenticator app, or enter the key by hand, then type the six-digit code it shows.
{% include "_totp_enrolment.html" %} {% else %}Enter the code from your authenticator app to finish signing in.