Compare commits
17 Commits
Author | SHA1 | Date |
---|---|---|
Markus Gärtner | 45657767e4 | |
Markus Gärtner | a2fdc17247 | |
Markus Gärtner | 5620d6b460 | |
Markus Gärtner | 0305d484a3 | |
Daniel Seifert | ba5d8d04af | |
Daniel Seifert | 3d0025cbc9 | |
Daniel Seifert | 4e038ef885 | |
Markus Gärtner | c44887803e | |
Markus Gärtner | 33fe2d8ade | |
Markus Gärtner | ae340f8569 | |
Markus Gärtner | 0c74177b15 | |
LarsStegelitz@Oxid | b8f1c7e8aa | |
LarsStegelitz@Oxid | 64abb3b36f | |
Fabian Vogel | 3acc30a3a5 | |
Gabriel Peleskei | 8926e6618d | |
Gabriel Peleskei | e802847f06 | |
Gabriel Peleskei | bd415ccb3e |
|
@ -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