This Contao module overrides the default security questions/captcha form field with Cloudflare Turnstile.
- Contao 5.0+
- PHP 8.1+
$ composer require guave/cloudflareturnstile-bundleThere are two ways to add the configuration needed:
a) Go to Settings in the Contao Backend and add your Turnstile Site Key and Secret Key under "Security: Cloudflare Turnstile"
or
b) Add your Turnstile Site Key and Secret Key on system/config/localconfig.php:
$GLOBALS['TL_CONFIG']['turnstilePublicKey'] = '<YOUR-SITE-KEY>';
$GLOBALS['TL_CONFIG']['turnstilePrivateKey'] = '<YOUR-SECRET-KEY>';