fix check on smtp config valid

This commit is contained in:
Simon Larsen 2023-08-02 13:55:58 +01:00
parent c836d7c3b2
commit fdd98fa257
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -50,11 +50,6 @@ export default class MailService {
return false;
}
if (!obj['SMTP_IS_SECURE']) {
logger.error('SMTP_IS_SECURE env var not found');
return false;
}
if (!obj['SMTP_PORT']) {
logger.error('SMTP_PORT env var not found');
return false;