summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/create.py
diff options
context:
space:
mode:
authortkikuchi2007-03-27 06:35:12 +0000
committertkikuchi2007-03-27 06:35:12 +0000
commit92188309a4648d23abb97f8dd2c6c924d9ea24b1 (patch)
tree5b354cbaf18d21689eca47573359dca660e622c5 /Mailman/Cgi/create.py
parentc1baffd25ba7290efcf7b1617ef08886712368f2 (diff)
downloadmailman-92188309a4648d23abb97f8dd2c6c924d9ea24b1.tar.gz
mailman-92188309a4648d23abb97f8dd2c6c924d9ea24b1.tar.zst
mailman-92188309a4648d23abb97f8dd2c6c924d9ea24b1.zip
Diffstat (limited to 'Mailman/Cgi/create.py')
-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 ed29e7f59..0ca51bd65 100644
--- a/Mailman/Cgi/create.py
+++ b/Mailman/Cgi/create.py
@@ -161,7 +161,8 @@ def process_request(doc, cgidata):
# We've got all the data we need, so go ahead and try to create the list
mlist = MailList.MailList()
try:
- pw = passwords.make_secret(password, config.PASSWORD_SCHEME)
+ scheme = passwords.lookup_scheme(config.PASSWORD_SCHEME.lower())
+ pw = passwords.make_secret(password, scheme)
try:
mlist.Create(fqdn_listname, owner, pw, langs)
except Errors.EmailAddressError, s: