Skip to content

Commit

Permalink
fix: added apiToken to env parse behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
michtio committed Sep 24, 2024
1 parent 11ac806 commit 7b43f20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/F5Purger.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function behaviors(): array
'baseUrl',
'namespace',
'name',
'apiToken',
],
];

Expand Down
4 changes: 2 additions & 2 deletions src/templates/settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{ forms.autosuggestField({
label: 'Namespace'|t('blitz-f5'),
instructions: 'The CDN namespace.'|t('blitz-f5'),
placeholder: 'system',
placeholder: 'namespace',
suggestEnvVars: true,
suggestions: craft.cp.getEnvSuggestions(),
name: 'namespace',
Expand All @@ -38,7 +38,7 @@
{{ forms.autosuggestField({
label: 'API Token'|t('blitz-f5'),
instructions: 'The API token.'|t('blitz-f5'),
placeholder: 'system',
placeholder: 'API Token',
suggestEnvVars: true,
suggestions: craft.cp.getEnvSuggestions(),
name: 'apiToken',
Expand Down

0 comments on commit 7b43f20

Please sign in to comment.