diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index f647ae15..44b5ccc3 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -255,7 +255,7 @@ def validate_mail(mail, crans_allowed=False): # Pas de caractèrs bizarres for l in mail[:]: - if not l in (string.lowercase + string.digits + '-_.@'): + if not l in (string.lowercase + string.digits + '+-_.@'): raise ValueError(u"Caractère interdit dans l'adresse mail (%s)." % l) # Pour les vicieux