Skip to content

Commit

Permalink
New icon and fixed label translation handle
Browse files Browse the repository at this point in the history
  • Loading branch information
billmn committed May 23, 2023
1 parent 709c539 commit 773eb13
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes for Cloudflare Turnstile

## 1.0.2 - 2023-05-24

- Brand new icon
- Fixed label translation handle in settings page

## 1.0.1 - 2023-04-13

- Added `passes` and `fails` methods
Expand Down
28 changes: 22 additions & 6 deletions src/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ class Settings extends Model
*/
public $secretKey;

/**
* Protect Contact Form submissions.
*
* @var boolean
*/
public $protectContactForm = false;

/**
* The parsed site key.
*
Expand Down
4 changes: 2 additions & 2 deletions src/templates/_settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{{ forms.autosuggestField({
name: 'siteKey',
label: 'Site Key'|t('plugin-handle'),
label: 'Site Key'|t('turnstile'),
value: settings.siteKey,
errors: settings.getErrors('siteKey'),
required: true,
Expand All @@ -16,7 +16,7 @@

{{ forms.autosuggestField({
name: 'secretKey',
label: 'Secret Key'|t('plugin-handle'),
label: 'Secret Key'|t('turnstile'),
value: settings.secretKey,
errors: settings.getErrors('secretKey'),
required: true,
Expand Down

0 comments on commit 773eb13

Please sign in to comment.