diff options
| author | bwarsaw | 1998-12-19 04:43:46 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-12-19 04:43:46 +0000 |
| commit | d5623a2797ec50bd2f18c263c930f3bff42e7ed1 (patch) | |
| tree | c6c039b4037be928d2b1768f5b3fd0340bf3ed0e /Mailman/pythonlib/smtplib.py | |
| parent | 2c046f542e0277710fbd421c23cabc968091380b (diff) | |
| download | mailman-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/smtplib.py')
0 files changed, 0 insertions, 0 deletions
