From e9ffb5021d67ac715270004cfaa25b86b2fade3a Mon Sep 17 00:00:00 2001 From: Ben Croker Date: Wed, 17 Feb 2021 19:25:59 +0100 Subject: [PATCH] Minor tweaks --- README.md | 2 +- src/models/SettingsModel.php | 2 +- src/templates/_settings.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82367df..cc15cec 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Snaptcha is an invisible CAPTCHA that automatically validates forms and prevents spam bots from submitting to your [Craft CMS](https://craftcms.com/) site. -Snaptcha (Simple Non-obtrusive Automated Public Turing test to tell Computers and Humans Apart) will validate all POST requests to the front-end of your site, meaning that it will work with any form and any plugin. Note that since this will affect all POST requests, you must add the required template tag before enabling validation (see usage below). +Snaptcha (Simple Non-obtrusive Automated Public Turing test to tell Computers and Humans Apart) will validate all POST requests to the front-end of your site, meaning that it will work with any form and any plugin. Note that since this will affect all POST requests, you must add the required template tag before enabling validation. ## Documentation diff --git a/src/models/SettingsModel.php b/src/models/SettingsModel.php index 80b3f1c..f2098c0 100644 --- a/src/models/SettingsModel.php +++ b/src/models/SettingsModel.php @@ -67,7 +67,7 @@ class SettingsModel extends Model /** * @var int */ - public $minimumSubmitTime = 2; + public $minimumSubmitTime = 3; /** * @var array|string diff --git a/src/templates/_settings.html b/src/templates/_settings.html index 7d7570f..3a1eb7c 100644 --- a/src/templates/_settings.html +++ b/src/templates/_settings.html @@ -118,7 +118,7 @@ required: true, label: 'Minimum Submit Time'|t('snaptcha'), name: 'minimumSubmitTime', - instructions: 'The minimum time for form submission in seconds (increase this to harden spam blocking).'|t('snaptcha'), + instructions: 'The minimum time for form submission in seconds. Increase this to harden spam protection.'|t('snaptcha'), warning: (config.minimumSubmitTime is defined ? configWarning('minimumSubmitTime')), value: settings.minimumSubmitTime, errors: settings.getErrors('minimumSubmitTime'),