Hide recaptcha in manage subscription form

[MAILPOET-3459]
This commit is contained in:
wxa
2021-03-09 13:20:08 +03:00
committed by Veljko V
parent 2566ebb13c
commit 3fd379a72d
2 changed files with 6 additions and 3 deletions

View File

@ -85,7 +85,7 @@ class ManageSubscriptionFormRenderer {
'email' => $subscriber->email,
'token' => $this->linkTokens->getToken($subscriber),
'editEmailInfo' => __('Need to change your email address? Unsubscribe here, then simply sign up again.', 'mailpoet'),
'formHtml' => $this->formRenderer->renderBlocks($form, [], $honeypot = false),
'formHtml' => $this->formRenderer->renderBlocks($form, [], $honeypot = false, $captcha = false),
'formState' => $formState,
];