File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ReCaptchaUser/view/adminhtml/templates Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ $isInvisible = !empty($config['invisible']);
4141 let attemptRecaptcha = () => {
4242 attempts++;
4343 if (attempts > maxRetryAttempts){
44- console.error("Could not fetch invisible ReCaptcha token. Please refresh the page and try again .");
44+ console.error("Could not fetch invisible ReCaptcha token. Please refresh the page.");
4545 return;
4646 }
4747 if (!isRecaptchaLoaded) {
@@ -66,7 +66,8 @@ $isInvisible = !empty($config['invisible']);
6666 window.globalOnRecaptchaOnLoadCallback = function () {
6767
6868 widgetId = grecaptcha.render('admin-recaptcha', {
69- <?php foreach ($ renderingOptions as $ key => $ value ): ?> '<?= $ block ->escapeJs ($ key ) ?> ': '<?= $ block ->escapeJs ($ value ) ?> ',
69+ <?php foreach ($ renderingOptions as $ key => $ value ): ?>
70+ '<?= $ block ->escapeJs ($ key ) ?> ': '<?= $ block ->escapeJs ($ value ) ?> ',
7071 <?php endforeach ; ?> 'callback': function (_token) {
7172 <?php if ($ isInvisible ): ?>
7273 token = _token;
You can’t perform that action at this time.
0 commit comments