From e6b372f79cf7924721cee5cf69127b1d90dbcb1e Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Tue, 27 Jul 2010 10:14:17 -0700 Subject: Changed the member options login page unsubscribe request to include the requesters IP address in the confirmation request. Bug #610527. --- Mailman/Cgi/options.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Mailman') diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index 454ac7a8..6841ae64 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -179,7 +179,8 @@ def main(): forwarded to the list administrator for approval."""), tag='') else: - mlist.ConfirmUnsubscription(user, userlang) + ip = os.environ.get('REMOTE_ADDR') + mlist.ConfirmUnsubscription(user, userlang, remote=ip) doc.addError(_('The confirmation email has been sent.'), tag='') mlist.Save() -- cgit v1.2.3