Skip to content

Commit

Permalink
Merge pull request #30 from zachee54/zachee54-patch-1
Browse files Browse the repository at this point in the history
Fix configuration property name
  • Loading branch information
dereuromark authored Aug 13, 2023
2 parents de59eaa + b50cc6a commit f309da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Rule/MaxRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class MaxRule {
* @return bool
*/
public function __invoke(EntityInterface $entity, array $options): bool {
$limit = Configure::read('maxPerUser') ?: 1000;
$limit = Configure::read('Captcha.maxPerUser') ?: 1000;

/** @var \Captcha\Model\Table\CaptchasTable $repository */
$repository = $options['repository'];
Expand Down

0 comments on commit f309da5

Please sign in to comment.