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 1313use Magento \Framework \Serialize \SerializerInterface ;
1414
1515/**
16- * ErrorProcessor
16+ * Process error during ajax login
17+ *
18+ * Set "no dispatch" flag and error message to Response
1719 */
1820class ErrorProcessor
1921{
@@ -40,6 +42,8 @@ public function __construct(
4042 }
4143
4244 /**
45+ * Set "no dispatch" flag and error message to Response
46+ *
4347 * @param ResponseInterface $response
4448 * @param string $message
4549 * @return void
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ $isInvisible = !empty($config['invisible']);
3131 let token = '';
3232
3333 this.widgetId = grecaptcha.render('admin-recaptcha', {
34- <?php foreach ($ renderingOptions as $ key => $ value ): ?>
34+ <?php foreach ($ renderingOptions as $ key => $ value ): ?>
3535 '<?= $ block ->escapeJs ($ key ) ?> ': '<?= $ block ->escapeJs ($ value ) ?> ',
3636 <?php endforeach ; ?>
3737 'callback': function (token) { // jscs:ignore jsDoc
You can’t perform that action at this time.
0 commit comments