From 9fe86146aaef6bb42a73e075050cd2865ef55910 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Tue, 22 Feb 2022 10:10:03 -0800 Subject: Improve fix for lp:1961762 in prior commit. --- Mailman/Cgi/options.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index cbdeb6e7..4b1850f2 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -169,7 +169,8 @@ def main(): if not mlist.isMember(user): if mlist.private_roster == 0: doc.addError(_('No such member: %(safeuser)s.')) - loginpage(mlist, doc, None, language) + user = None + loginpage(mlist, doc, user, language) print doc.Format() return -- cgit v1.2.3