diff --git a/fp_altcha_spamschutz/src/Service/AltchaService.php b/fp_altcha_spamschutz/src/Service/AltchaService.php index f365924..d59c0fe 100644 --- a/fp_altcha_spamschutz/src/Service/AltchaService.php +++ b/fp_altcha_spamschutz/src/Service/AltchaService.php @@ -47,6 +47,11 @@ class AltchaService return $this->getConfigValue('fp_altcha_protect_newsletter', 'on') === 'on'; } + public function isEnabledForContact(): bool + { + return $this->getConfigValue('fp_altcha_protect_contact', 'on') === 'on'; + } + public function isDebug(): bool { return $this->getConfigValue('fp_altcha_debug', '') === 'on';