1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-20 01:31:34 +02:00

fix for when secure is set to false

This commit is contained in:
Puyodead1 2023-02-23 23:44:48 -05:00
parent ada821070b
commit ed5aa51a8f

View File

@ -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.",
);