Comments (4)
Hello @xeontcs ,
what is the reCaptcha version you are currently running?
from security-package.
Hi,
Thank you for your reply.
I haven't configure any Google reCaptcha.
Stores > Configuration > Security > Google reCapture is empty.
But I still receive this JS errors.
Image attached.
from security-package.
This is fixed in the 2.1.3 version (thanks to @jissereitsma), but that version is not yet available at the moment. It's in pre-release state for Magento, see: https://github.com/magento/magespecialist_ReCaptcha/releases
For the meanwhile, you can apply a patch in the form of a plugin onto MSP\ReCaptcha\Block\Frontend\ReCaptcha
:
<?php
declare(strict_types=1);
namespace My\Namespace\Plugin\Block\Frontend;
use MSP\ReCaptcha\Block\Frontend\ReCaptcha as BaseBlock;
use MSP\ReCaptcha\Model\Config;
class ReCaptcha
{
/** @var Config */
protected $recaptchaConfig;
public function __construct(
Config $recaptchaConfig
) {
$this->recaptchaConfig = $recaptchaConfig;
}
public function afterToHtml(BaseBlock $subject, string $result): string
{
if (!$this->recaptchaConfig->isEnabledFrontend()) {
return '';
}
return $result;
}
}
from security-package.
Due to significant refactoring and UI changes in Admin Panel for reCAPCTHA module in the scope of security-package for 2.4.x release, this bug is not actual anymore.
from security-package.
Related Issues (20)
- Allow use reCAPTCHA globally HOT 6
- Mark interfaces and blocks as API HOT 6
- Newly created admin users are unable to pass Two-Factor Authentication HOT 4
- Not able to use captcha multiple times in same page HOT 7
- Admin user 2FA provider preference not saving HOT 12
- Unable to Plugin to \Magento\TwoFactorAuth\Observer\ControllerActionPredispatch HOT 4
- Remove 2FA Force Provider "Use system value" checkbox HOT 3
- Disable 2fa auth for specifi user HOT 2
- ReCaptcha checkout config provider name conflicts with Braintree HOT 6
- Authy Remember Me Option HOT 1
- Errors with bulk API when ReCaptchaWebapiRest is enabled HOT 8
- test HOT 5
- Publish a new release of TwoFactorAuth extension HOT 2
- I have got an issue on admin frequently "You cannot proceed with such operation, your reCaptcha reputation is too low. HOT 6
- Duplicate reCAPTCHA validation breaks checkout success redirect after initial server error response HOT 6
- Wrong version in 1.1.3-p1 metapackage composer.json HOT 4
- Missing LESS guards create duplicate CSS HOT 6
- The Magento works with Google reCaptcha v3 incorrectly. HOT 3
- reCaptcha JS recaptcha_en.js is added multiple times to head HOT 4
- Replace autocomplete="off" with autocomplete="one-time-code" on auth HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from security-package.