aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2014-02-07 15:34:29 -0800
committerMark Sapiro <mark@msapiro.net>2014-02-07 15:34:29 -0800
commit2017059f64d9b0307382355c381a256a6d24d3bb (patch)
tree565a403443e09159e105ee936561b10a7bc29848 /Mailman/Cgi
parent3740f0e42b2d0373a49bcef4d2fc7a8f80a637e5 (diff)
downloadmailman2-2017059f64d9b0307382355c381a256a6d24d3bb.tar.gz
mailman2-2017059f64d9b0307382355c381a256a6d24d3bb.tar.xz
mailman2-2017059f64d9b0307382355c381a256a6d24d3bb.zip
Changed the message from the confirm CGI to not indicate approval is
required for an acceptance of an invitation.
Diffstat (limited to '')
-rw-r--r--Mailman/Cgi/confirm.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py
index 607f1784..99ff43cd 100644
--- a/Mailman/Cgi/confirm.py
+++ b/Mailman/Cgi/confirm.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2011 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2014 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -258,7 +258,8 @@ def subscription_prompt(mlist, doc, cookie, userdesc):
<p>Or hit <em>Cancel my subscription request</em> if you no longer want to
subscribe to this list.""") + '<p><hr>'
- if mlist.subscribe_policy in (2, 3):
+ if (mlist.subscribe_policy in (2, 3) and
+ not getattr(userdesc, 'invitation', False)):
# Confirmation is required
result = _("""Your confirmation is required in order to continue with
the subscription request to the mailing list <em>%(listname)s</em>.