summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib
diff options
context:
space:
mode:
authorbwarsaw1998-12-19 04:43:46 +0000
committerbwarsaw1998-12-19 04:43:46 +0000
commitd5623a2797ec50bd2f18c263c930f3bff42e7ed1 (patch)
treec6c039b4037be928d2b1768f5b3fd0340bf3ed0e /Mailman/pythonlib
parent2c046f542e0277710fbd421c23cabc968091380b (diff)
downloadmailman-d5623a2797ec50bd2f18c263c930f3bff42e7ed1.tar.gz
mailman-d5623a2797ec50bd2f18c263c930f3bff42e7ed1.tar.zst
mailman-d5623a2797ec50bd2f18c263c930f3bff42e7ed1.zip
Reorganize administrator authentication so that it is done up-front
instead of on each pending message. Two advantages: you can't even see the held messages if you don't have the password, and it's also easier to deal with the held messages this way. Two nasty bits: most of the code was copied from admin.py, so there's a lot of crufty duplication of effort (but then, all the CGI stuff could go through a major cleaning). Also, if there are no messages being held, that information is given without need for admin password. That seems innocuous enough. Also got rid of a couple of eval()s lurking in the code. I think they were just there to do string->int conversion, and there's a much safer way of doing this.
Diffstat (limited to 'Mailman/pythonlib')
0 files changed, 0 insertions, 0 deletions