diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 4546f5c5..8b302644 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1857,7 +1857,10 @@ class BaseProprietaire(BaseClasseCrans): mail1 = mail2 = None if r.lower().startswith('o'): while True: - mail1 = prompt(u"Adresse mail ?") + mail1 = prompt(u"Adresse mail ? (ANNUL pour annuler la redirection)") + if mail1 == "ANNUL": + mail1 = None + break try: validate_mail(mail1) except ValueError, e: