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 f4beaab51e - Show all commits

View File

@ -5,7 +5,7 @@
{% 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 %} {% if with_help_text and field.help_text %}
<small class="form-text d-block">{{ field.help_text|safe }}</small> <small class="form-text">{{ field.help_text|safe }}</small>
{% endif %} {% endif %}
{% endif %} {% endif %}
<div class="text-danger">{{ field.errors }}</div> <div class="text-danger">{{ field.errors }}</div>
@ -18,7 +18,7 @@
{{ field }} {{ field }}
<div class="text-danger">{{ field.errors }}</div> <div class="text-danger">{{ field.errors }}</div>
{% if with_help_text and field.help_text %} {% if with_help_text and field.help_text %}
<small class="form-text d-block">{{ field.help_text|safe }}</small> <small class="form-text">{{ field.help_text|safe }}</small>
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}