diff options
author | bwarsaw <> | 2003-12-26 16:36:53 +0000 |
---|---|---|
committer | bwarsaw <> | 2003-12-26 16:36:53 +0000 |
commit | b4875c6fb7f3990b3c280e585188bc88fe1d7301 (patch) | |
tree | 88669f7c78d5666ffaa01e50a7ceee047bb28e98 /Mailman/Archiver | |
parent | e60528d2a481b07a9a851c81823e7d580a0ddc9c (diff) | |
download | mailman2-b4875c6fb7f3990b3c280e585188bc88fe1d7301.tar.gz mailman2-b4875c6fb7f3990b3c280e585188bc88fe1d7301.tar.xz mailman2-b4875c6fb7f3990b3c280e585188bc88fe1d7301.zip |
Authenticate(): When authenticating AuthUser, wrap the
self.authenticateMember() call in a try/except catching and ignoring
NotAMemberErrors. The effect of this is that other authcontexts being
check will then proceed as normal. This fixes admin login to the
private archives, and non-public rosters.
Under the old code, if you tried to get into the private archives w/o
entering an email address, but using the admin password, you'd be
denied access.
WebAuthenticate(): Removed the wrapping of .Authenticate() in
try/except catching of NotAMemberError, since this should never
percolate out now.
Also, use True/False everywhere it's appropriate (but not in the
cookie code).
Original bug and patch by Stephan Berndts. Closes SF bug # 864676 and
SF patch # 864674.
Diffstat (limited to 'Mailman/Archiver')
0 files changed, 0 insertions, 0 deletions