diff options
-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 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 |