wrong default value

This commit is contained in:
Ulf Gebhardt 2021-06-08 12:23:33 +02:00
parent 7da0ba1f51
commit 6819c8e5dd
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -40,7 +40,7 @@ const server = {
const smtp = {
SMTP_HOST: env.SMTP_HOST,
SMTP_PORT: env.SMTP_PORT,
SMTP_IGNORE_TLS: env.SMTP_IGNORE_TLS === 'true' || true,
SMTP_IGNORE_TLS: env.SMTP_IGNORE_TLS !== 'false', // default = true
SMTP_SECURE: env.SMTP_SECURE === 'true',
SMTP_USERNAME: env.SMTP_USERNAME,
SMTP_PASSWORD: env.SMTP_PASSWORD,