{% endif %}
{% if (two_step_login or totp_step) and login_username %}
Signing in as
{{ login_username }}
{% endif %}
{% if persona_mode %}
{% elif totp_step %}
{# Declarative TOTP second factor (#348): a further phase after
a successful password check, riding two_step's machinery.
The "Change username" control is shared with the password
step below the chain. #}
{% elif two_step_login and not login_username %}
{% if users %}
Quick fill username
{% for username, description in users[:6] %}
{% endfor %}
{% for username, description in users[:6] %}
{% endfor %}
{% endif %}
{% endif %}
{% if (two_step_login or totp_step) and login_username %}
{# "Change username" for the password step and the TOTP step
alike - one block, so the two screens cannot drift. SAML's
inline login has no GET to link back to (the SAMLRequest is
a POST body, not stored anywhere), so it resubmits the same
hidden fields with no username instead -
_sso_authenticate_inline already renders the blank username
screen for a POST that carries none (#323 review round 2,
before-merge 3). #}
{% if saml_request %}
{% else %}