diff options
Diffstat (limited to 'server/lib/emailer.ts')
-rw-r--r-- | server/lib/emailer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index 9c105a575..1b905e510 100644 --- a/server/lib/emailer.ts +++ b/server/lib/emailer.ts | |||
@@ -46,7 +46,7 @@ class Emailer { | |||
46 | secure: CONFIG.SMTP.TLS, | 46 | secure: CONFIG.SMTP.TLS, |
47 | debug: CONFIG.LOG.LEVEL === 'debug', | 47 | debug: CONFIG.LOG.LEVEL === 'debug', |
48 | logger: bunyanLogger as any, | 48 | logger: bunyanLogger as any, |
49 | ignoreTLS: isTestInstance(), | 49 | ignoreTLS: isTestInstance() || CONFIG.SMTP.HOSTNAME === 'localhost' || CONFIG.SMTP.HOSTNAME === '127.0.0.1', |
50 | tls, | 50 | tls, |
51 | auth | 51 | auth |
52 | }) | 52 | }) |