summaryrefslogtreecommitdiff
path: root/Mailman/SecurityManager.py
diff options
context:
space:
mode:
authorbwarsaw2001-08-16 06:25:49 +0000
committerbwarsaw2001-08-16 06:25:49 +0000
commit5d485cefedb7606284eda8df9cdb2b1f71386680 (patch)
tree8b3627dc3287f3cb9db2afe41cb01bf9f567f35b /Mailman/SecurityManager.py
parent1ff3722ae61a1f7db081d1edd14f176f050d600c (diff)
downloadmailman-5d485cefedb7606284eda8df9cdb2b1f71386680.tar.gz
mailman-5d485cefedb7606284eda8df9cdb2b1f71386680.tar.zst
mailman-5d485cefedb7606284eda8df9cdb2b1f71386680.zip
MailUserPassword(): Rip out the checks for isMember(user) and
getMemberPassword(user). First, we assert that the user is a member because there should be no way to get here if that's not the case. Second, it is a nasty bug if the user does not have a valid password, but one that the list administrator really can do little about. Instead, if the user is found to have a `false' password, we simply assign them a new one, which is fine because they're asking for their password now, so we'll just ship them the new one. This means we no longer need templates/*/nopass.txt, soon to be deleted. It also means that we won't raise MMBadUserError here, which is fine because the caller never checked for that exception anyway. ;)
Diffstat (limited to 'Mailman/SecurityManager.py')
0 files changed, 0 insertions, 0 deletions