Skip to content

Commit 49bf44e

Browse files
author
Gabriel Galvao da Gama
committed
Merge branch 'develop' of github.com:magento-commerce/security-package into 2.4.3-develop-sync
2 parents 1958e3c + 36864c5 commit 49bf44e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

ReCaptchaFrontendUi/view/frontend/web/js/reCaptcha.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ define(
5959
* @returns {Boolean}
6060
*/
6161
getIsInvisibleRecaptcha: function () {
62+
63+
if (this.settings ===
64+
65+
void 0) {
66+
return false;
67+
}
68+
6269
return this.settings.invisible;
6370
},
6471

@@ -83,7 +90,9 @@ define(
8390
widgetId,
8491
parameters;
8592

86-
if (this.captchaInitialized) {
93+
if (this.captchaInitialized || this.settings ===
94+
95+
void 0) {
8796
return;
8897
}
8998

0 commit comments

Comments
 (0)