exclude guest user from captcha check

This commit is contained in:
AntonHeinze 2025-01-14 15:59:58 +01:00
bovenliggende 654ad23635
commit 032c2d5e4c

Bestand weergeven

@ -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;
}