diff --git a/docbow_project/docbow/management/commands/sync-tabellio.py b/docbow_project/docbow/management/commands/sync-tabellio.py index 8019b75..ded270f 100644 --- a/docbow_project/docbow/management/commands/sync-tabellio.py +++ b/docbow_project/docbow/management/commands/sync-tabellio.py @@ -11,8 +11,8 @@ from django.template.defaultfilters import slugify from docbow_project.docbow.models import MailingList, DocbowProfile -# Utilise seulement des majuscules et des chiffres, sauf i,l et 1, O et 0 -__pwd_alphabet = 'ABCDEFGHJKMNPQRSTUVWXYZ23456789' +# Generate passwords using capitals and numbers, but no 1 or I, O or 0 +__pwd_alphabet = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789' def create_password(pwd_length=8): password = ''.join([random.choice(__pwd_alphabet) for x in range(pwd_length)])