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

{% trans 'My User Settings' %}

{% trans 'My Language Preference' %}

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

{% trans 'My E-mail-address' %}

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

{% trans '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" %} {% trans '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 %}

{% trans 'My 2-Factor-Authentication Keys' %}

{% trans "You can use your FIDO2 keys to secure your account. Once you added a key to your account you won't be able to log in without using the key." %}
{% trans "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. Just make sure to keep at least one key at a secure place." %}
{% for key in keys %} {% empty %} {% endfor %}
{% trans 'Key name' %} {% trans 'Last usage' %} {% trans 'Date added' %} {% trans 'Actions' %}
{{ key.name }} {{ key.last_usage }} {{ key.created_at }}
{% trans 'No 2FA keys have been added yet.' %}

{% trans 'Add a new 2FA key' %}

{% endblock %}