aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2022-02-22 10:10:03 -0800
committerMark Sapiro <mark@msapiro.net>2022-02-22 10:10:03 -0800
commit9fe86146aaef6bb42a73e075050cd2865ef55910 (patch)
treeacad4ca7d866b9c8028e4a9ca8ae51750afa4f19
parente8439277d594a9f1357f5e05edf4607e01b38f31 (diff)
downloadmailman2-9fe86146aaef6bb42a73e075050cd2865ef55910.tar.gz
mailman2-9fe86146aaef6bb42a73e075050cd2865ef55910.tar.xz
mailman2-9fe86146aaef6bb42a73e075050cd2865ef55910.zip
Improve fix for lp:1961762 in prior commit.
-rw-r--r--Mailman/Cgi/options.py3
1 files changed, 2 insertions, 1 deletions
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