diff options
author | Mark Sapiro <mark@msapiro.net> | 2010-07-27 10:14:17 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2010-07-27 10:14:17 -0700 |
commit | e6b372f79cf7924721cee5cf69127b1d90dbcb1e (patch) | |
tree | 83c48ed6f406ed79c05676147b22d01d8e47aa96 /Mailman/Cgi/options.py | |
parent | 5a30c580b29aa65a66cf9c1e9ff1b692717c664b (diff) | |
download | mailman2-e6b372f79cf7924721cee5cf69127b1d90dbcb1e.tar.gz mailman2-e6b372f79cf7924721cee5cf69127b1d90dbcb1e.tar.xz mailman2-e6b372f79cf7924721cee5cf69127b1d90dbcb1e.zip |
Changed the member options login page unsubscribe request to include the
requesters IP address in the confirmation request. Bug #610527.
Diffstat (limited to 'Mailman/Cgi/options.py')
-rw-r--r-- | Mailman/Cgi/options.py | 3 |
1 files changed, 2 insertions, 1 deletions
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() |