Enable Authorized emails checks for all users

[MAILPOET-2359]
This commit is contained in:
Amine Ben hammou
2019-09-16 00:19:10 +01:00
committed by Jack Kitterhing
parent 4136a0d8c4
commit 595f118307
2 changed files with 6 additions and 7 deletions

View File

@@ -29,9 +29,7 @@ class AuthorizedEmailsController {
}
function checkAuthorizedEmailAddresses() {
$installed_at = new Carbon($this->settings->get('installed_at'));
$authorized_emails_release_date = new Carbon('2019-03-06');
if (!Bridge::isMPSendingServiceEnabled() || $installed_at < $authorized_emails_release_date) {
if (!Bridge::isMPSendingServiceEnabled()) {
$this->settings->set(self::AUTHORIZED_EMAIL_ADDRESSES_ERROR_SETTING, null);
$this->updateMailerLog();
return;