{% extends "_base.html" %} {% load i18n %} {% block content %} {% load static %} {% load widget_tweaks %}

{% translate "My Account Settings" %}

{% translate "My Language Preference" %}

{% csrf_token %}
{% translate "This setting only affects this device." %}

{% translate "Display preferences" %}

{% csrf_token %} {% render_field user_preferences_form.distribute_sidebar_boxes|add_error_class:"border-red-500" %}
{{ user_preferences_form.distribute_sidebar_boxes.help_text }}

{% translate "My E-mail-address" %}

{% csrf_token %} {% render_field user_email_form.email|add_error_class:"border-red-500" %}

{% translate "My Password" %}

{% csrf_token %} {% render_field user_password_form.old_password|add_error_class:"border-red-500" %} {% render_field user_password_form.new_password|add_error_class:"border-red-500" %} {% translate "Enter my new password again here" as new_password_confirm_placeholder %} {% render_field user_password_form.new_password_confirm|add_error_class:"border-red-500" placeholder=new_password_confirm_placeholder %}
    {% for item in user_password_form.new_password.help_text %}
  • {{ item }}
  • {% endfor %}

{% translate "My 2-Factor-Authentication methods" %}

{% translate "To further protect your account, you can add additional authentication methods (2-factor authentication)." %} {% translate "The system currently supports the setup of FIDO2 keys and TOTP authentication via authenticator apps." %} {% translate "Once you add a method, it will always be requested when logging in and potential attackers will have a harder time gaining control over your account." %}

{% translate "FIDO2 keys" %}

{% translate "You can use your FIDO2 keys to secure your account." %} {% translate "Once you added a key to your account you won't be able to log in without using the key." %}
{% translate "To make sure that you don't loose access to your account when you loose your FIDO2 key it is recommended to add multiple keys." %} {% translate "Make sure to keep your keys at a secure place." %}
{% for key in keys %} {% empty %} {% endfor %}
{% translate "Key name" %} {% translate "Last usage" %} {% translate "Date added" %} {% translate "Actions" %}
{{ key.name }} {{ key.last_usage }} {{ key.created_at|date:"SHORT_DATE_FORMAT" }}
{% translate "No FIDO2 keys have been added yet." %}

{% translate "Add a new FIDO2 key" %}

{% translate "Authenticator app" %}

{% translate "You can use an authenticator application to secure your account with time-based one-time passwords (TOTP)." %} {% translate "If you connect an authenticator with your account you will be asked to enter the shown digits on your smartphone to log into your account." %}
{% if user.totp_key %} {% translate "Active" %} {% translate "Disconnect" %} {% else %} {% translate "Inactive" %} {% translate "Register authenticator app" %} {% endif %}
{% endblock content %}