diff options
author | David Siebörger <drs@sieborger.nom.za> | 2018-01-29 14:58:42 +0200 |
---|---|---|
committer | David Siebörger <drs@sieborger.nom.za> | 2018-01-29 14:58:42 +0200 |
commit | 993d81c2ce98a6579b3110a6013c00090dfddaea (patch) | |
tree | 4dc585e377553f711eb22678eddd79460b3755a1 /Mailman/Defaults.py.in | |
parent | e76749fe918f58c453aab77f0c53ac0342afdadf (diff) | |
download | mailman2-993d81c2ce98a6579b3110a6013c00090dfddaea.tar.gz mailman2-993d81c2ce98a6579b3110a6013c00090dfddaea.tar.xz mailman2-993d81c2ce98a6579b3110a6013c00090dfddaea.zip |
Allow the list subscription form to be protected from spam bots using
reCAPTCHA.
Diffstat (limited to '')
-rwxr-xr-x | Mailman/Defaults.py.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 309d0ba3..3446aa8d 100755 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -131,6 +131,12 @@ SUBSCRIBE_FORM_SECRET = None # test. SUBSCRIBE_FORM_MIN_TIME = seconds(5) +# Use Google reCAPTCHA to protect the subscription form from spam bots. The +# following must be set to a pair of keys issued by the reCAPTCHA service at +# https://www.google.com/recaptcha/ +RECAPTCHA_SITE_KEY = None +RECAPTCHA_SECRET_KEY = None + # Installation wide ban list. This is a list of email addresses and regexp # patterns (beginning with ^) which are not allowed to subscribe to any lists # in the installation. This supplements the individual list's ban_list. |