diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-22 16:12:52 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-22 16:12:52 +0100 |
commit | bebf2d89d335c48659d2e25cb9f6f8310e867fc5 (patch) | |
tree | 49548611f335073cd9988c4c5d87a113a1f65cc0 /server/lib | |
parent | a38b297d90a35abc8d5308f74eb2d2b64cef7c21 (diff) | |
download | PeerTube-bebf2d89d335c48659d2e25cb9f6f8310e867fc5.tar.gz PeerTube-bebf2d89d335c48659d2e25cb9f6f8310e867fc5.tar.zst PeerTube-bebf2d89d335c48659d2e25cb9f6f8310e867fc5.zip |
Add option to disable starttls
Diffstat (limited to 'server/lib')
-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 1b905e510..f34d141ea 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() || CONFIG.SMTP.HOSTNAME === 'localhost' || CONFIG.SMTP.HOSTNAME === '127.0.0.1', | 49 | ignoreTLS: CONFIG.SMTP.DISABLE_STARTTLS, |
50 | tls, | 50 | tls, |
51 | auth | 51 | auth |
52 | }) | 52 | }) |