aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authorbwarsaw <>2004-12-30 20:49:31 +0000
committerbwarsaw <>2004-12-30 20:49:31 +0000
commit292e9a631ebec94138bd4f3b1f5a1a9faea9cb38 (patch)
tree1a48bcb9e9fbcce81a636e0af2f97ee57cf7f82c /Mailman/Cgi
parentbef8ca35019a13a4973086e7bf60d52e815763da (diff)
downloadmailman2-292e9a631ebec94138bd4f3b1f5a1a9faea9cb38.tar.gz
mailman2-292e9a631ebec94138bd4f3b1f5a1a9faea9cb38.tar.xz
mailman2-292e9a631ebec94138bd4f3b1f5a1a9faea9cb38.zip
From the NEWS file:
- Added the ability for Mailman generated passwords (both member and list admin) to be more cryptographically secure. See new configuration variables USER_FRIENDLY_PASSWORDS, MEMBER_PASSWORD_LENGTH, and ADMIN_PASSWORD_LENGTH. Also added a new bin/withlist script called reset_pw which can be used to reset all member passwords. Passwords generated by Mailman are now 8 characters by default for members, and 10 characters for list administrators.
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r--Mailman/Cgi/create.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py
index 09e4790c..a67614cf 100644
--- a/Mailman/Cgi/create.py
+++ b/Mailman/Cgi/create.py
@@ -125,7 +125,8 @@ def process_request(doc, cgidata):
blank if you want Mailman to autogenerate the list
passwords.'''))
return
- password = confirm = Utils.MakeRandomPassword(length=8)
+ password = confirm = Utils.MakeRandomPassword(
+ mm_cfg.ADMIN_PASSWORD_LENGTH)
else:
if password <> confirm:
request_creation(doc, cgidata,