diff --git a/InvenTree/templates/InvenTree/settings/user.html b/InvenTree/templates/InvenTree/settings/user.html index 26e543cd5f..567f36bebf 100644 --- a/InvenTree/templates/InvenTree/settings/user.html +++ b/InvenTree/templates/InvenTree/settings/user.html @@ -155,6 +155,51 @@ +
+
+

{% trans "Multifaktor" %}

+
+ +
+ {% if user.staticdevice_set.all and user.totpdevice_set.all %} +

{% trans 'You have these faktors available:' %}

+ + + + + + + + {% for token in user.totpdevice_set.all %} + + + + + {% endfor %} + {% for token in user.staticdevice_set.all %} + + + + + {% endfor %} + +
TypeName
{% trans 'TOTP' %}{{ token.name }}
{% trans 'Static' %}{{ token.name }}
+ + {% else %} +

{% trans 'Warning:'%} + {% trans "You currently do not have any faktors set up." %} +

+ + {% endif %} +
+ +
+
{% trans "Change faktors" %}
+ {% trans "Setup multifaktor" %} + {% trans "Remove multifaktor" %} +
+
+

{% trans "Theme Settings" %}