mirror of https://github.com/Chocobozzz/PeerTube
Disable starttls for emails on localhost
parent
63ac2857aa
commit
376220e80e
|
@ -46,7 +46,7 @@ class Emailer {
|
|||
secure: CONFIG.SMTP.TLS,
|
||||
debug: CONFIG.LOG.LEVEL === 'debug',
|
||||
logger: bunyanLogger as any,
|
||||
ignoreTLS: isTestInstance(),
|
||||
ignoreTLS: isTestInstance() || CONFIG.SMTP.HOSTNAME === 'localhost' || CONFIG.SMTP.HOSTNAME === '127.0.0.1',
|
||||
tls,
|
||||
auth
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue