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 { if (this.initialized === true) return this.initialized = true - if (isEmailEnabled) { + if (isEmailEnabled()) { logger.info('Using %s:%s as SMTP server.', CONFIG.SMTP.HOSTNAME, CONFIG.SMTP.PORT) let tls