summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/util/Email.ts2
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.",
 			);