From 032c2d5e4cc42a8d0d41ec2218cf07966fca26ae Mon Sep 17 00:00:00 2001 From: AntonHeinze Date: Tue, 14 Jan 2025 15:59:58 +0100 Subject: [PATCH] exclude guest user from captcha check --- application/component/oeusercomponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/component/oeusercomponent.php b/application/component/oeusercomponent.php index 7a53173..50ef6f5 100644 --- a/application/component/oeusercomponent.php +++ b/application/component/oeusercomponent.php @@ -49,7 +49,7 @@ class oeUserComponent extends oeUserComponent_parent } /* START check for PayPal Checkout - no Captcha */ - if (!$this->getCaptcha()->passCaptcha()) { + if (\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('cl') !== 'user' && !$this->getCaptcha()->passCaptcha()) { return false; }