aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2018-05-05 09:25:09 -0700
committerMark Sapiro <mark@msapiro.net>2018-05-05 09:25:09 -0700
commit86c1771a9cc63404ed1e258bbed6920021140eae (patch)
tree9224fe2a9bcd94516b0a4d10ec4bcc729cfbd359 /Mailman
parent143e38ced0dcdfa8a402e803c441c545a61a142e (diff)
downloadmailman2-86c1771a9cc63404ed1e258bbed6920021140eae.tar.gz
mailman2-86c1771a9cc63404ed1e258bbed6920021140eae.tar.xz
mailman2-86c1771a9cc63404ed1e258bbed6920021140eae.zip
Add <noscript> note to listinfo reCAPTCHA that JavaScript is required.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Cgi/listinfo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py
index 428834ba..4f30108c 100644
--- a/Mailman/Cgi/listinfo.py
+++ b/Mailman/Cgi/listinfo.py
@@ -247,6 +247,7 @@ def list_listinfo(mlist, lang):
if mm_cfg.RECAPTCHA_SITE_KEY:
replacements['<mm-recaptcha-ui>'] = (
"""<tr><td>&nbsp;</td><td>
+ <noscript>This form requires JavaScript.</noscript>
<script src="https://www.google.com/recaptcha/api.js?hl=%s">
</script>
<div class="g-recaptcha" data-sitekey="%s"></div>