Initial mfa support (for internal users) #93591

Merged
Oleg-Komarov merged 46 commits from mfa into main 2024-08-29 11:44:06 +02:00
Showing only changes of commit 9def65b434 - Show all commits

View File

@ -4,12 +4,13 @@
{{ field }} {{ field }}
{% if not field.is_hidden %} {% if not field.is_hidden %}
{% include 'components/forms/label.html' with label_class="form-check-label" %} {% include 'components/forms/label.html' with label_class="form-check-label" %}
{% if with_help_text and field.help_text %}
<small class="form-text">{{ field.help_text|safe }}</small>
{% endif %} {% endif %}
</div>
{% if with_help_text and field.help_text %}
<small class="form-text">{{ field.help_text|safe }}</small>
{% endif %} {% endif %}
<div class="text-danger">{{ field.errors }}</div> <div class="text-danger">{{ field.errors }}</div>
</div>
{% else %} {% else %}
<div class="form-group"> <div class="form-group">
{% if not field.is_hidden %} {% if not field.is_hidden %}