diff options
| author | bwarsaw | 2000-11-09 16:19:03 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-11-09 16:19:03 +0000 |
| commit | cb60434c9d32cb5ac48d9fcda86e94f4889e1416 (patch) | |
| tree | ca29e6355beefc09d53034b915fac3f3eedbab9b | |
| parent | 7c912c530807f02141ca63b5973ac16e2ebe5865 (diff) | |
| download | mailman-cb60434c9d32cb5ac48d9fcda86e94f4889e1416.tar.gz mailman-cb60434c9d32cb5ac48d9fcda86e94f4889e1416.tar.zst mailman-cb60434c9d32cb5ac48d9fcda86e94f4889e1416.zip | |
process_form(): Don't pass the `user' argument to PrintResults when
the user is successfully unsubscribed. In that case there /is/ no
options for the user to continue to edit. Fixes SF bugs 122017 and
121591.
Diffstat (limited to '')
| -rw-r--r-- | Mailman/Cgi/handle_opts.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Mailman/Cgi/handle_opts.py b/Mailman/Cgi/handle_opts.py index 66e9e2c41..ff9d6dd98 100644 --- a/Mailman/Cgi/handle_opts.py +++ b/Mailman/Cgi/handle_opts.py @@ -111,8 +111,7 @@ def process_form(mlist, user, doc): except Errors.MMBadPasswordError: PrintResults(mlist, operation, doc, "That password was incorrect.<p>") - PrintResults(mlist, operation, doc, "You have been unsubscribed.<p>", - user) + PrintResults(mlist, operation, doc, "You have been unsubscribed.<p>") elif form.has_key("emailpw"): try: |
