diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 5c56630d..a1a6068a 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2047,7 +2047,7 @@ class machine(base_classes_crans) : if clef == 1 : # Génération clef = '' - for i in range(14) : + for i in range(20) : clef += random.choice(filter(lambda x: x != 'l', string.lowercase) + filter(lambda x: x != '1', string.digits))