import_ldap_group_users : ne reactive plus les users desactives manuellement

This commit is contained in:
Pierre & Lumière 2026-04-17 12:32:46 +00:00
parent 81227833c1
commit 402ed36407

View File

@ -129,7 +129,7 @@ SQL_UPDATE_USER = text("""
display_name = :display_name, display_name = :display_name,
email = :email, email = :email,
auth_type = 'ldap', auth_type = 'ldap',
is_active = true, -- is_active PRESERVE : jamais reactive un user desactive manuellement
contact_id = COALESCE(:contact_id, contact_id), contact_id = COALESCE(:contact_id, contact_id),
itop_person_id = COALESCE(:itop_pid, itop_person_id), itop_person_id = COALESCE(:itop_pid, itop_person_id),
updated_at = now() updated_at = now()