File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/code/Magento/Captcha/Plugin Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class CheckCaptchaOnStorefront
2424 *
2525 * @param HelperCaptcha $helper
2626 * @param HttpContext $httpContext
27+ * @param ScopeConfigInterface $scopeConfig
2728 */
2829 public function __construct (
2930 private readonly HelperCaptcha $ helper ,
@@ -46,7 +47,10 @@ public function afterGetTemplate(
4647 ?string $ result
4748 ): string {
4849 // Check the value for recaptcha_frontend/type_for/customer_login
49- $ recaptchaType = $ this ->scopeConfig ->getValue ('recaptcha_frontend/type_for/customer_login ' , ScopeInterface::SCOPE_WEBSITE );
50+ $ recaptchaType = $ this ->scopeConfig ->getValue (
51+ 'recaptcha_frontend/type_for/customer_login ' ,
52+ ScopeInterface::SCOPE_WEBSITE
53+ );
5054
5155 if ($ this ->isLoggedIn () || (!$ this ->helper ->getConfig ('enable ' ) && $ recaptchaType === null )) {
5256 return '' ;
You can’t perform that action at this time.
0 commit comments