summaryrefslogtreecommitdiff
path: root/src/lib/email.ts
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2024-07-01 19:50:25 +0100
committerRaphael Kabo <raphaelkabo@hey.com>2024-07-01 19:50:25 +0100
commitc5141c77976cd17e5e457ac0d1fb6647636056bb (patch)
treea7541fcf4db51072435f86608cf0c897341ca74a /src/lib/email.ts
parent935bb9dec49f2a18bb839915dbc1ff695f8767c5 (diff)
Allow 'none' as an email option
Diffstat (limited to 'src/lib/email.ts')
-rw-r--r--src/lib/email.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/email.ts b/src/lib/email.ts
index 9b8162b..3cf3156 100644
--- a/src/lib/email.ts
+++ b/src/lib/email.ts
@@ -66,6 +66,7 @@ export const initEmailService = async (): Promise<boolean> => {
"Error verifying Nodemailer transporter. Please check your Nodemailer configuration.",
);
}
+ case "none":
default:
console.warn(
"You have not configured this Gathio instance to send emails! This means that event creators will not receive emails when their events are created, which means they may end up locked out of editing events. Consider setting up an email service.",