📝 Compte modifié

Bonjour {{ user.firstName ?: user.email }},

Votre compte a été modifié par un administrateur.

ℹ️ Informations sur la modification :

Modifié par : {{ admin_name }}

Date : {{ timestamp|date('d/m/Y à H:i:s') }}

{% if changes and changes|length > 0 %}

📋 Champs modifiés :

{% for field in changes %}
{% if field == 'firstName' %}Prénom {% elseif field == 'lastName' %}Nom {% elseif field == 'email' %}Email {% elseif field == 'phone' %}Téléphone {% elseif field == 'roles' %}Rôles {% elseif field == 'isActive' %}Statut du compte {% elseif field == 'emailVerified' %}Vérification email {% elseif field == 'is2faEnabled' %}Authentification 2FA {% elseif field == 'isIpValidationEnabled' %}Validation IP {% elseif field == 'preferredLanguage' %}Langue préférée {% elseif field == 'timezone' %}Fuseau horaire {% else %}{{ field }} {% endif %}
{% endfor %}
{% endif %} {% if ip_address or location %}

📍 Modification effectuée depuis :

{% if ip_address %}

IP : {{ ip_address }}

{% endif %} {% if location %}

Localisation : {% if location.city and location.city != 'Unknown' %}{{ location.city }}, {% endif %} {% if location.country and location.country != 'Unknown' %}{{ location.country }}{% endif %}

{% endif %}
{% endif %}
⚠️ Vous n'avez pas demandé cette modification ?
Si vous n'êtes pas à l'origine de cette demande de modification, contactez immédiatement notre équipe de support pour vérifier votre compte.

Que faire maintenant :

Cordialement,
L'équipe {{ system_name|default('Application') }}