1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Add option to disable starttls

This commit is contained in:
Chocobozzz 2018-03-22 16:12:52 +01:00
parent a38b297d90
commit bebf2d89d3
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 6 additions and 1 deletions

View file

@ -46,7 +46,7 @@ class Emailer {
secure: CONFIG.SMTP.TLS,
debug: CONFIG.LOG.LEVEL === 'debug',
logger: bunyanLogger as any,
ignoreTLS: isTestInstance() || CONFIG.SMTP.HOSTNAME === 'localhost' || CONFIG.SMTP.HOSTNAME === '127.0.0.1',
ignoreTLS: CONFIG.SMTP.DISABLE_STARTTLS,
tls,
auth
})