On 12/3/20 9:02 AM, Brian Carpenter wrote:
Look for the following line on those lists without the reCAPTCHA element:

<mm-digest-question-end>

Add the following two lines right below the above line:

<mm-recaptcha-ui>
<mm-captcha-ui>

That should reveal reCAPTCHA via the listinfo page for would-be subscribers to check when subscribing.

Folks:

Sorry for resurrecting an old thread, but I'm trying to get recaptcha working on my site ...

I've got the keys set in my mm_cfg.py file, and have quadruple verified that they are correct ... but for some reason I keep getting the error "reCAPTCHA validation failed: invalid-input-response" when submitting the form.

I'm 99% sure the listinfo.html template is correct.

----------
      </tr>
      <mm-digest-question-end>
      <mm-recaptcha-ui>
      <tr>
        <td colspan="3">
          <center><MM-Subscribe-Button></P></center>
    </TABLE>
-----------

It renders like this:

----------
        <td>Would you like to receive list mail batched in a daily
          digest?
          </td>
        <td><input type=radio name="digest" value="0" CHECKED> No
            <input type=radio name="digest" value="1">  Yes
        </TD>
      </tr>

      <tr><td>&nbsp;</td><td>
            <noscript>This form requires JavaScript.</noscript>
            <script src="https://www.google.com/recaptcha/api.js?hl=en";>
            </script>
<div class="g-recaptcha" data-sitekey="6LeN3gwTAAAAABLV8GkJQlgj4YQC7BYHgDkdJLxZ"></div>
            </td></tr>

      <tr>
        <td colspan="3">
<center><INPUT type="Submit" name="email-button" value="Subscribe"></P></center>
    </TABLE>
    </FORM>
----------

Any suggestions on what I can do to try and diagnose the problem?

Thanks!

David

--
I'm riding in the American Diabetes Association's Tour de Cure to raise money for diabetes research, education, advocacy, and awareness. You can make a tax-deductible donation to my ride by visiting https://mideml.diabetessucks.net.

You can see where my donations come from by visiting my interactive donation map ... https://mideml.diabetessucks.net/map (it's a geeky thing).
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to