diff options
| author | bwarsaw | 2007-01-14 03:24:31 +0000 |
|---|---|---|
| committer | bwarsaw | 2007-01-14 03:24:31 +0000 |
| commit | 898eeaebe945b82c270a31578dabd19728f4475b (patch) | |
| tree | 7c85252428206288b9df74075ea8b15097dfb390 /Mailman/Cgi/create.py | |
| parent | 758c067131369c35b4b737d409ca7809dcd4920a (diff) | |
| download | mailman-898eeaebe945b82c270a31578dabd19728f4475b.tar.gz mailman-898eeaebe945b82c270a31578dabd19728f4475b.tar.zst mailman-898eeaebe945b82c270a31578dabd19728f4475b.zip | |
Diffstat (limited to 'Mailman/Cgi/create.py')
| -rw-r--r-- | Mailman/Cgi/create.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py index 53001b356..0ebe7b9f6 100644 --- a/Mailman/Cgi/create.py +++ b/Mailman/Cgi/create.py @@ -26,6 +26,7 @@ from Mailman import Errors from Mailman import MailList from Mailman import Message from Mailman import i18n +from Mailman import passwords from Mailman.configuration import config from Mailman.htmlformat import * @@ -160,7 +161,7 @@ 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 = sha.new(password).hexdigest() + pw = passwords(password, config.PASSWORD_SCHEME) try: mlist.Create(fqdn_listname, owner, pw, langs) except Errors.EmailAddressError, s: |
