summaryrefslogtreecommitdiff
path: root/mailman/Utils.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-01-06 23:45:34 -0500
committerBarry Warsaw2009-01-06 23:45:34 -0500
commitd3e2ba2707c99c0a444302b1f013131ea41b7eae (patch)
tree3946d242ddda9adab74fb4cf1685319ca43e97ed /mailman/Utils.py
parent994d079ea50deb58b20c41e506e29278c3c93257 (diff)
downloadmailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.tar.gz
mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.tar.zst
mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.zip
Diffstat (limited to 'mailman/Utils.py')
-rw-r--r--mailman/Utils.py4
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)