- Issue created by @manoj.surala
While this module was easy to configure and use, I thought it could be more useful if there are few more features included.
1. To add additional parameters to pass like "offlabel": true which will remove the Cloudflare logo when accessing a form that has turnstile enabled or "mode": "invisible" to change the challenge mode
2. An option to turn on/off to bypass Captcha altogether if there is any issue with Cloudflare turnstile response. We may/may not want to stop users from posting depending on the website needs.
To reproduce the second point mentioned above. Try adding turnstile to your site. Add dummy wrong keys. Now go to the form where turnstile is enabled. You will not see the turnstile widget loaded before the submit button. Now, try to submit the form and it will throw the error saying "The answer you entered for the CAPTCHA was not correct." But will also not show you the math quiz which was the fallback option if Turnstile failed.
We should have an option to bypass the default captcha validation if turnstile fails. Admins should be able to choose if they want users to bypass Captcha validation if turnstile widget has any error and didn't load for any reason and let users post or not.
An option to skip default captcha if turnstile fails
Active
1.0
Code