diff --git a/uipa_org/templates/account/settings.html b/uipa_org/templates/account/settings.html new file mode 100644 index 000000000..83a367fc5 --- /dev/null +++ b/uipa_org/templates/account/settings.html @@ -0,0 +1,185 @@ +{% extends 'account/settings_base.html' %} +{% load i18n %} +{% load form_helper %} +{% load account_tags %} + +{% block settings_body %} +
{% translate "You need to set a password first." %}
+ {% else %} + {% get_mfa_keys as mfa_keys %} + {% if mfa_keys.all %} +{% translate "You have the following two-factor login methods active:" %}
+{% translate "You have not setup any two-factor login methods." %}
+ {% endif %} + {% translate "Manage two-factor login methods" %} + {% endif %} + {% endrecentauthrequired %} +