Add meta to response when email is unauthorized

[MAILPOET-3881]
This commit is contained in:
Jan Lysý
2021-10-28 20:42:06 +02:00
committed by Veljko V
parent eb0fb13f1c
commit 7d04ea28ad
3 changed files with 39 additions and 6 deletions

View File

@ -126,7 +126,7 @@ class Settings extends APIEndpoint {
$this->bridge->onSettingsSave($settings);
}
$this->authorizedEmailsController->onSettingsSave($settings);
$meta = $this->authorizedEmailsController->onSettingsSave($settings);
if ($signupConfirmation !== $this->settings->get('signup_confirmation.enabled')) {
$this->messageController->updateSuccessMessages();
}