{% extends "main/index.html" %} {% load static %} {% load i18n %} {% block includes_static %} {% endblock %} {% block user_settings %} {% if request.user.is_admin %} {% include 'main/add_key.html' %} {% endif %} {# todo refactoring: move to user #}
{% if request.user.is_admin %} {% endif %} {% if not user.is_ldap_user %} {% endif %} {% if email_enable == False %}{% endif %} {% if email_enable == True %} {% endif %}
{% include 'main/list_keys.html' %}

{% include 'main/change_user_password.html' %}

{% if not user.is_2fa_active %}

{% trans '2fa setup required' %}

{% endif %} {% include 'main/two_factor_auth_render.html' %}

{% csrf_token %}

{% trans 'Enable email notifications' context 'Notification' %}
{% trans 'Include additional information in email notification' context 'user_config' %}
{% trans 'Send attacks blocked by Basic analysis' context 'user_config' %}
{% trans 'Send attacks blocked by Nemesida AI MLA' context 'user_config' %}
{% trans 'Send attacks blocked by Antivirus' context 'user_config' %}
{% trans 'Send attacks blocked by internal error' context 'user_config' %}
{% trans 'Send attacks detected by Nemesida AI MLC' context 'user_config' %}
{% trans 'Send brute-force attacks' context 'user_config' %}
{% trans 'Send flood-attacks' context 'user_config' %}
{% trans 'Send DDoS-attacks' context 'user_config' %}
{% trans 'Send attacks blocked by OpenAPI' context 'user_config' %}
{% trans 'Send request notifications from IP addresses in the "Blocked IPs" list' context 'user_config' %}
{% trans 'Send notifications for request structure violations' context 'user_config' %}
{% trans 'Send notifications for blocked responses' context 'user_config' %}
{% endblock %} {% block main_summary %} {% include 'main/main_summary.html' %} {% endblock %}