{% extends "_partials/_auth_shell.html" %}
{% block title %}Two-factor authentication{% if app_name and app_name != title_brand %} — {{ app_name }}{% endif %} — {{ title_brand }}{% endblock %}
{% block head %}
{{ super() }}
<style>
#recovery-section { display: none; }
#totp-section { display: block; }
#use_recovery:checked ~ #totp-section { display: none; }
#use_recovery:checked ~ #recovery-section { display: block; }
#use_recovery { position: absolute; left: -9999px; }
</style>
{% endblock %}
{% block auth_main %}{% include "_partials/_auth_main_mfa_challenge.html" %}{% endblock %}