mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-24 19:05:29 +00:00
fix for when secure is set to false
This commit is contained in:
@@ -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.",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user