diff options
-rw-r--r-- | src/util/util/Email.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util/Email.ts b/src/util/util/Email.ts index cbcc5b60..5610b56e 100644 --- a/src/util/util/Email.ts +++ b/src/util/util/Email.ts @@ -59,7 +59,7 @@ const transporters = { Config.get().email.smtp; // ensure all required configuration values are set - if (!host || !port || !secure || !username || !password) + if (!host || !port || secure === null || !username || !password) return console.error( "[Email] SMTP has not been configured correctly.", ); |