{% extends "base.html" %}{% block title %}{{ t('profile') }}{% endblock %} {% block content %}

{{ t('profile') }}: {{ user.username }}

{% if generated_token %}
Token: {{ generated_token }}
Zapisz go! Nie będzie ponownie wyświetlony.
{% endif %}

{{ t('email') }}

{{ t('change_password') }}

{% if totp_enabled %}{% endif %}

{{ t('token') }}

{{ t('token_help') }}

{% if totp_enabled %}{% endif %}

2FA

{% if totp_enabled %}

✅ 2FA {{ t('admin_pagsync_running') }}.

{% elif setup_2fa and user.totp_secret %}

Zeskanuj kod QR lub otwórz link w aplikacji 2FA:

QR
{{ user.totp_secret }}
Otwórz w aplikacji
{% else %}

Dodaj dodatkową warstwę zabezpieczeń. Po włączeniu, przy logowaniu będziesz podawać kod z aplikacji 2FA.

{% endif %}
{% endblock %}