diff --git a/application/component/oeusercomponent.php b/application/component/oeusercomponent.php index 50ef6f5..e6a3174 100644 --- a/application/component/oeusercomponent.php +++ b/application/component/oeusercomponent.php @@ -43,13 +43,13 @@ class oeUserComponent extends oeUserComponent_parent /* END check for Amazon Pay - no Captcha / /* START check for PayPal Checkout - no Captcha */ - if(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('fnc') == 'approveOrder') + if(\OxidEsales\Eshop\Core\Registry::getRequest()->getRequestEscapedParameter('fnc') == 'approveOrder') { return parent::createUser(); } /* START check for PayPal Checkout - no Captcha */ - if (\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('cl') !== 'user' && !$this->getCaptcha()->passCaptcha()) { + if (\OxidEsales\Eshop\Core\Registry::getRequest()->getRequestEscapedParameter('cl') !== 'user' && !$this->getCaptcha()->passCaptcha()) { return false; }