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
2 changed files with 4 additions and 2 deletions
Showing only changes of commit c3429e0212 - Show all commits

View File

@ -45,7 +45,8 @@ Multi-factor Authentication Setup
{% with field=form.signature %} {% with field=form.signature %}
{% include "components/forms/field.html" %} {% include "components/forms/field.html" %}
{% endwith %} {% endwith %}
<button type="submit" class="btn">Validate</button> <button type="submit" class="btn btn-primary">Validate</button>
<a class="btn btn-secondary" href="{% url 'bid_main:mfa' %}">Cancel</a>
{% if form.non_field_errors %} {% if form.non_field_errors %}
<div class="text-danger mt-3"> <div class="text-danger mt-3">
something went wrong something went wrong

View File

@ -24,7 +24,8 @@ Multi-factor Authentication Setup
{% with field=form.state %} {% with field=form.state %}
{% include "components/forms/field.html" %} {% include "components/forms/field.html" %}
{% endwith %} {% endwith %}
<button type="submit" class="btn">Add security key</button> <button type="submit" class="btn btn-primary">Add security key</button>
<a class="btn btn-secondary" href="{% url 'bid_main:mfa' %}">Cancel</a>
{% if form.non_field_errors %} {% if form.non_field_errors %}
<div class="text-danger mt-3"> <div class="text-danger mt-3">
something went wrong something went wrong