File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
ReCaptchaCustomer/Model/AjaxLogin
ReCaptchaUser/view/adminhtml/templates Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 13
13
use Magento \Framework \Serialize \SerializerInterface ;
14
14
15
15
/**
16
- * ErrorProcessor
16
+ * Process error during ajax login
17
+ *
18
+ * Set "no dispatch" flag and error message to Response
17
19
*/
18
20
class ErrorProcessor
19
21
{
@@ -40,6 +42,8 @@ public function __construct(
40
42
}
41
43
42
44
/**
45
+ * Set "no dispatch" flag and error message to Response
46
+ *
43
47
* @param ResponseInterface $response
44
48
* @param string $message
45
49
* @return void
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ $isInvisible = !empty($config['invisible']);
31
31
let token = '';
32
32
33
33
this.widgetId = grecaptcha.render('admin-recaptcha', {
34
- <?php foreach ($ renderingOptions as $ key => $ value ): ?>
34
+ <?php foreach ($ renderingOptions as $ key => $ value ): ?>
35
35
'<?= $ block ->escapeJs ($ key ) ?> ': '<?= $ block ->escapeJs ($ value ) ?> ',
36
36
<?php endforeach ; ?>
37
37
'callback': function (token) { // jscs:ignore jsDoc
You can’t perform that action at this time.
0 commit comments