diff options
| author | Barry Warsaw | 2009-01-06 23:45:34 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-06 23:45:34 -0500 |
| commit | d3e2ba2707c99c0a444302b1f013131ea41b7eae (patch) | |
| tree | 3946d242ddda9adab74fb4cf1685319ca43e97ed /mailman/Utils.py | |
| parent | 994d079ea50deb58b20c41e506e29278c3c93257 (diff) | |
| download | mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.tar.gz mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.tar.zst mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.zip | |
Diffstat (limited to 'mailman/Utils.py')
| -rw-r--r-- | mailman/Utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/Utils.py b/mailman/Utils.py index 31848d5c8..26235d47d 100644 --- a/mailman/Utils.py +++ b/mailman/Utils.py @@ -318,8 +318,8 @@ def Secure_MakeRandomPassword(length): def MakeRandomPassword(length=None): if length is None: - length = int(config.member_password_length) - if as_boolean(config.user_friendly_passwords): + length = int(config.passwords.member_password_length) + if as_boolean(config.passwords.user_friendly_passwords): password = UserFriendly_MakeRandomPassword(length) else: password = Secure_MakeRandomPassword(length) |
