aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-18 08:29:23 +0100
committerChocobozzz <me@florianbigard.com>2020-02-18 08:29:23 +0100
commit887e1a0376193aa0c53cb2a814eb030750e240cc (patch)
tree1c2ee6965ee99e1bea0c943c1fd65ae500f199ee /server
parent134cf2bce96a8c5aefd55154e884964975d8cf23 (diff)
downloadPeerTube-887e1a0376193aa0c53cb2a814eb030750e240cc.tar.gz
PeerTube-887e1a0376193aa0c53cb2a814eb030750e240cc.tar.zst
PeerTube-887e1a0376193aa0c53cb2a814eb030750e240cc.zip
Fix emailer
Diffstat (limited to 'server')
-rw-r--r--server/lib/emailer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts
index d0874ab20..26262972d 100644
--- a/server/lib/emailer.ts
+++ b/server/lib/emailer.ts
@@ -40,7 +40,7 @@ class Emailer {
40 if (this.initialized === true) return 40 if (this.initialized === true) return
41 this.initialized = true 41 this.initialized = true
42 42
43 if (isEmailEnabled) { 43 if (isEmailEnabled()) {
44 logger.info('Using %s:%s as SMTP server.', CONFIG.SMTP.HOSTNAME, CONFIG.SMTP.PORT) 44 logger.info('Using %s:%s as SMTP server.', CONFIG.SMTP.HOSTNAME, CONFIG.SMTP.PORT)
45 45
46 let tls 46 let tls