From c5141c77976cd17e5e457ac0d1fb6647636056bb Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Mon, 1 Jul 2024 19:50:25 +0100 Subject: Allow 'none' as an email option --- src/lib/email.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/email.ts') 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 => { "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.", -- cgit v1.2.3