Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Croker committed Feb 17, 2021
1 parent 238bc78 commit e9ffb50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/models/SettingsModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class SettingsModel extends Model
/**
* @var int
*/
public $minimumSubmitTime = 2;
public $minimumSubmitTime = 3;

/**
* @var array|string
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit e9ffb50

Please sign in to comment.