{% extends "base.html" %} {% block title %} {% trans %}Two-factor authentication (2FA){% endtrans %} {% endblock %} {% block subtitle %} {% trans %}with time-based one-time password (TOTP){% endtrans %} {% endblock %} {% block content %}

{% trans %}TOTP is an optional secondary layer of the authentication process used to enforce the protection of your account with a one-time password. You can read this Wikipedia page if you want to learn more about this mechanism.{% endtrans %}

{% if enabled %}
{% trans %}Two-factor authentication is enabled{% endtrans %}

{% trans %}Click on Disable TOTP to disable it{% endtrans %}

{% trans %}Test your one-time password{% endtrans %}

{% trans %}Feel free to use this form in order to check your client configuration{% endtrans %}

{% else %}
{% trans %}Two-factor authentication is disabled{% endtrans %}

{% trans %}Click on Enable TOTP to configure it{% endtrans %}

{% trans %}Attention{% endtrans %}

{% trans %}You will need a working TOTP client in order to complete this configuration. Several open-source apps can help you for this (and some on mobile are available on F-Droid){% endtrans %}

{% endif %} {% endblock %} {% block actions %} {% if enabled %} {% trans %}Disable TOTP{% endtrans %} {% else %} {% trans %}Enable TOTP{% endtrans %} {% endif %} {% endblock %}