Files
Alert-Hub-System/app/templates/mfa.html
T

20 lines
664 B
HTML
Raw Normal View History

2026-09-13 19:59:54 +01:00
{% extends "base.html" %}
{% block title %}Verify identity{% endblock %}
{% block content %}
<div class="auth-shell">
<div class="auth-card">
<div class="auth-prompt">verify</div>
<h1>Two-factor authentication</h1>
<p class="auth-sub">Enter the 6-digit code from your authenticator app.</p>
<form method="post" class="form" novalidate>
{{ form.csrf_token }}
<div>
{{ form.code.label }}
{{ form.code(autocomplete="one-time-code", inputmode="numeric", pattern="[0-9]{6}", autofocus=True, maxlength=6) }}
</div>
{{ form.submit(class_="btn btn-primary btn-block") }}
</form>
</div>
</div>
{% endblock %}