{% extends "base.html" %} {% from "ui/card.html" import card %} {% from "ui/button.html" import button %} {% from "ui/form_field.html" import input_field %} {% from "ui/page_header.html" import page_header %} {% block title %}Zwei-Faktor-Anmeldung{% endblock %} {% block content %} {{ page_header("Zwei-Faktor-Anmeldung", "Methode: " ~ mfa_method_label) }} {% call card('auth-card') %}
{{ input_field('6-stelliger Code', 'code', type='text', required=true, attrs='inputmode="numeric" pattern="[0-9]{6}" minlength="6" maxlength="6"') }} {{ button('Code prüfen', type='submit') }}
{% if mfa_is_email %}
{{ button('Neuen Code senden', type='submit', variant='ghost') }}
{% endif %}

Zurück zur Anmeldung

{% endcall %} {% endblock %}