FriendlyCaptcha / friendly-captcha-wordpress

WordPress plugin for Friendly Captcha. Protect WordPress website forms from spam and abuse with Friendly Captcha, a privacy-first anti-bot solution.
https://friendlycaptcha.com
19 stars 9 forks source link

Add support for f12 cf7 double opt in #105

Closed merlinfuchs closed 1 year ago

merlinfuchs commented 1 year ago

A customer has reported that our plugin doesn't work together with the Forge12 Contact Form 7 Double Opt-In plugin. I think this is because the plugin triggers a second form submit after clicking the opt-in link in the email which is rejected by our plugin because of the missing captcha solution. I have added a new setting to let this second submit bypass the captcha check. This happens by checking if it's a GET request (not the case for normal form submits) and if the optin query parameter is set. As this is not a perfect check and may open some unforeseen security holes users have to explicitly enable this.