diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 7ef45d59..6ab72021 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1577,6 +1577,8 @@ class BaseProprietaire(BaseClasseCrans): if '@' not in new: new += '@crans.org' + else: + new = new.split('@')[0].lower() + '@crans.org' if index != -1: liste[index] = new