From edb2ba7cc7e93a66b8ac21563ea363d7bde30c46 Mon Sep 17 00:00:00 2001 From: JensFalk Date: Mon, 21 Sep 2026 19:25:22 +0200 Subject: [PATCH] Kontaktformular-Schutz hinzugefuegt (v1.1.0) --- fp_altcha_spamschutz/src/Service/AltchaService.php | 5 +++++ 1 file changed, 5 insertions(+) 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';