aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/subscribe.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2020-06-10 15:04:26 -0700
committerMark Sapiro <mark@msapiro.net>2020-06-10 15:04:26 -0700
commit6fac67d23d53d2bb46b300e53a33da1c8f09cb86 (patch)
tree56451f0b82181a2dcd76690fe2e883f696e377d9 /Mailman/Cgi/subscribe.py
parentbc7fdf4c5fb688ae62e48e614bc285bdcd805ffc (diff)
downloadmailman2-6fac67d23d53d2bb46b300e53a33da1c8f09cb86.tar.gz
mailman2-6fac67d23d53d2bb46b300e53a33da1c8f09cb86.tar.xz
mailman2-6fac67d23d53d2bb46b300e53a33da1c8f09cb86.zip
Implement WARN_MEMBER_OF_SUBSCRIBE subscribe setting.
Diffstat (limited to 'Mailman/Cgi/subscribe.py')
-rw-r--r--Mailman/Cgi/subscribe.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py
index 795fc81b..ca218737 100644
--- a/Mailman/Cgi/subscribe.py
+++ b/Mailman/Cgi/subscribe.py
@@ -300,6 +300,7 @@ moderator's decision when they get to your request.""")
results = _('You are already subscribed.')
else:
results = privacy_results
+ if privacy_results and mm_cfg.WARN_MEMBER_OF_SUBSCRIBE:
# This could be a membership probe. For safety, let the user know
# a probe occurred. BAW: should we inform the list moderator?
listaddr = mlist.GetListEmail()