summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-08-16 06:27:34 +0000
committerbwarsaw2001-08-16 06:27:34 +0000
commit76c5356c3c3d1824a2a560cfa21639576eea658e (patch)
treee46183054feae503ace01326598be73e76df8c65
parent5d485cefedb7606284eda8df9cdb2b1f71386680 (diff)
downloadmailman-76c5356c3c3d1824a2a560cfa21639576eea658e.tar.gz
mailman-76c5356c3c3d1824a2a560cfa21639576eea658e.tar.zst
mailman-76c5356c3c3d1824a2a560cfa21639576eea658e.zip
ProcessSubscribeCmd(): Use keyword arguments for all parameters to the
UserDesc constructor. Previously, we were assigning the password to the fullname, and the digest to the password, so users were ending up with a password of the integer 0. Very bogus.
-rw-r--r--Mailman/MailCommandHandler.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py
index 0fe02df8a..3a23cd1e2 100644
--- a/Mailman/MailCommandHandler.py
+++ b/Mailman/MailCommandHandler.py
@@ -625,7 +625,9 @@ background and instructions for subscribing to and using it, visit:
remote = mail.get_sender()
try:
# FIXME: extract fullname
- userdesc = UserDesc(subscribe_address, password, digest)
+ userdesc = UserDesc(address=subscribe_address,
+ password=password,
+ digest=digest)
self.AddMember(userdesc, remote)
self.Save()
except Errors.MMSubscribeNeedsConfirmation: