Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Markus Gärtner | 2ac4507ace | |
Markus Gärtner | 69618b8db5 | |
Markus Gärtner | e1be2b618a | |
Markus Gärtner | e7b5947a3d |
|
@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
### Security
|
||||
|
||||
## 2.0.8 - 08 September 2023
|
||||
- add check for Amazon Pay - no Captcha
|
||||
|
||||
## 2.0.7 - 08 September 2023
|
||||
- add check for PayPal Checkout - no Captcha
|
||||
|
||||
## 2.0.6 - 18 Juli 2023
|
||||
- don't request captcha if user is logged in
|
||||
|
||||
|
|
|
@ -30,6 +30,25 @@ class oeUserComponent extends oeUserComponent_parent
|
|||
|
||||
public function createUser()
|
||||
{
|
||||
/* START check for Amazon Pay - no Captcha */
|
||||
ob_start();
|
||||
debug_print_backtrace();
|
||||
$trace = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
if(str_contains($trace, 'initAmazonPayExpress'))
|
||||
{
|
||||
return parent::createUser();
|
||||
}
|
||||
/* END check for Amazon Pay - no Captcha /
|
||||
|
||||
/* START check for PayPal Checkout - no Captcha */
|
||||
if(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('fnc') == 'approveOrder')
|
||||
{
|
||||
return parent::createUser();
|
||||
}
|
||||
/* START check for PayPal Checkout - no Captcha */
|
||||
|
||||
if (!$this->getCaptcha()->passCaptcha()) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ $aModule = array(
|
|||
'en' => 'OXID eSales Simple Captcha Module',
|
||||
),
|
||||
'thumbnail' => 'out/pictures/picture.png',
|
||||
'version' => '2.0.6',
|
||||
'version' => '2.0.8',
|
||||
'author' => 'OXID eSales AG',
|
||||
'url' => 'https://www.oxid-esales.com/',
|
||||
'email' => '',
|
||||
|
|
Loading…
Reference in New Issue