Skip to content

Commit

Permalink
Merge branch 'bugfix/bug-fix-changes' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
blueo committed Jul 11, 2023
2 parents 930781c + e39452a commit 9dc53c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion src/Forms/TurnstileCaptchaField.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9dc53c9

Please sign in to comment.