Some more fixes

Warning dialog about missing Javascript removed from subscription dialog. The warning would flash in any case (even when Javascript is activated)
This commit is contained in:
Tomas Bures 2019-02-17 17:18:59 +00:00
parent df2a8c1cde
commit f7b5aef0e3
5 changed files with 2 additions and 14 deletions

View file

@ -173,7 +173,7 @@ async function _createTransport(sendConfiguration) {
}
};
if (mailerType === MailerType.ZONE_MTA || mailerSettings.zoneMTAType === ZoneMTAType.BUILTIN) {
if (mailerType === MailerType.ZONE_MTA && mailerSettings.zoneMTAType === ZoneMTAType.BUILTIN) {
transportOptions.host = config.builtinZoneMTA.host;
transportOptions.port = config.builtinZoneMTA.port;
transportOptions.secure = false;