{% extends 'base.html' %} {% macro new_email_row(tmp_id) %}
{{ _("Status:") }} {{ _("Enabled") if user.mfa_enabled else _("Disabled") }} {{ user.mfa_recovery_codes|length }} {{ _("Recovery Codes") }}, {{ user.mfa_totp_methods|length }} {{ _("Authenticator Apps (TOTP)") }}, {{ user.mfa_webauthn_methods|length }} {{ _("U2F and FIDO2 Devices") }}
{{ _("%(session_count)d active sessions", session_count=user.sessions|rejectattr('expired')|list|length) }}