Fix emailer
This commit is contained in:
parent
134cf2bce9
commit
887e1a0376
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue