diff --git a/README.md b/README.md index 0b7b627..474ac25 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -Turnstile Smart CAPTCHA +Silverstripe Turnstile CAPTCHA ================= -(Please note this is a initial work, Have not done any Test yet not ideal for production environment) Adds a "spam protection" field to SilverStripe userforms using Cloudflare's -[smart CAPTCHA](https://developers.cloudflare.com/turnstile) service. +[Turnstile CAPTCHA](https://developers.cloudflare.com/turnstile) service. ## Requirements * SilverStripe 5.x diff --git a/src/Forms/TurnstileCaptchaField.php b/src/Forms/TurnstileCaptchaField.php index 8fefe78..cb7a52b 100644 --- a/src/Forms/TurnstileCaptchaField.php +++ b/src/Forms/TurnstileCaptchaField.php @@ -97,7 +97,6 @@ public function Field($properties = array()) //phpcs:ignore PSR1.Methods.CamelCa . ($this->getRenderType() === 'explicit' ? '&render=explicit' : ''), [ 'async' => true, - 'defer' => true, ] ); return parent::Field($properties);