chore: initialize public repository
CI / checks (push) Has been cancelled

This commit is contained in:
maddin
2026-03-22 12:57:09 +00:00
commit 6fbd1bb3c2
142 changed files with 19826 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{% 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') %}
<form action="/login/mfa" method="post" class="stack">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}" />
{{ 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') }}
</form>
{% if mfa_is_email %}
<form action="/login/mfa/resend"
method="post"
class="stack mfa-resend-form">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}" />
{{ button('Neuen Code senden', type='submit', variant='ghost') }}
</form>
{% endif %}
<p>
<a href="/login">Zurück zur Anmeldung</a>
</p>
{% endcall %}
{% endblock %}