springload / wagtail-django-recaptcha

A simple recaptcha field for Wagtail Form Pages
https://pypi.python.org/pypi/wagtail-django-recaptcha/
MIT License
56 stars 20 forks source link

Add support for reCAPTCHA v3 #35

Open ar4s opened 3 years ago

ar4s commented 3 years ago

Closes #33

enzedonline commented 1 year ago

From the Google developers guide:

Note: reCAPTCHA tokens expire after two minutes. If you're protecting an action with reCAPTCHA, make sure to call execute when the user takes the action rather than on page load

The reCaptcha will often expire before the user has time to fill in the form if loaded with the form. It should be attached to the form submit action instead. The form builder needs some changes to accommodate this.