{# The OTP authentication factor template. Displays the authenticator application management. :param edited_user: The user being edited. :type edited_user: :class:`~canaille.core.models.User` #} {% extends theme('base.html') %} {% import 'macro/form.html' as fui %} {%- block title -%} {% if user.user_name == edited_user.user_name %} {%- trans %}My profile{% endtrans -%} {% else %} {%- trans %}User profile edition{% endtrans -%} {% endif %} {%- endblock -%} {% block submenu %} {% trans %}Personal information{% endtrans %} {% trans %}Account settings{% endtrans %} {% trans %}Authentication{% endtrans %} {% endblock %} {% block content %}

{% trans %}Authenticator application{% endtrans %}

{% call fui.render_form(form, class_="info") %}
{% trans %} You have configured an authenticator application. If you cannot access this application anymore, you can reset its configuration. After this, you will be able to set up a new authenticator application configuration. {% endtrans %}
{% call fui.render_button(form.action, "otp-reset-confirm", class_="ui right floated basic negative button confirm", id="reset-otp", formnovalidate=True) %} {% trans %}Reset{% endtrans %} {% endcall %}
{% endcall %}
{% endblock %}