diff options
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/options.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index af6e3add..c5c6425a 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -166,10 +166,11 @@ def main(): return # Sanity check the user, but only give the "no such member" error when # using public rosters, otherwise, we'll leak membership information. - if not mlist.isMember(user) and mlist.private_roster == 0: - doc.addError(_('No such member: %(safeuser)s.')) - loginpage(mlist, doc, None, language) - print doc.Format() + if not mlist.isMember(user): + if mlist.private_roster == 0: + doc.addError(_('No such member: %(safeuser)s.')) + loginpage(mlist, doc, None, language) + print doc.Format() return # Avoid cross-site scripting attacks |