Possibility to add additional options/actions

Created on 28 February 2024, 10 months ago

Problem/Motivation

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.

Steps to reproduce

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.

Proposed resolution

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.

Remaining tasks

User interface changes

An option to skip default captcha if turnstile fails

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States manoj.surala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024