{% trans_default_domain 'uniweb-auth' %} {#
{{ 'configureSecondFactor2'|trans({}, 'auth') }}
{% for type, methods in methodsByType %}| {{ 'auth.twoFactorSetup.heading.enabled'|trans }} | {#{{ 'auth.twoFactorSetup.section.' ~ type|trans }} | #}{{ 'auth.twoFactorSetup.heading.actions'|trans }} | |
|---|---|---|---|
| {{ method.translation|trans }} | {% if method.enabled %} {{ 'auth.twoFactorSetup.enabled.yes'|trans }} {% else %} {{ 'auth.twoFactorSetup.enabled.no'|trans }} {% endif %} | {% if method.enabled %} {% if method.key != 'email_token' %} {{ 'auth.twoFactorSetup.action.update'|trans }} {% endif %} {{ 'auth.twoFactorSetup.action.disable'|trans }} {% else %} {{ 'auth.twoFactorSetup.action.enable'|trans }} {% endif %} |