diff --git a/frontend/src/routes/(app)/projects/[id]/settings/+page.server.ts b/frontend/src/routes/(app)/projects/[id]/settings/+page.server.ts index 78ce8a5..0000746 100644 --- a/frontend/src/routes/(app)/projects/[id]/settings/+page.server.ts +++ b/frontend/src/routes/(app)/projects/[id]/settings/+page.server.ts @@ -121,7 +121,11 @@ export const actions: Actions = { const userId = event.locals.user.id - if (!event.locals.user.email_verified) { + if ( + !event.locals.user.email_verified && + env.PRIVATE_MAIL_PROVIDER && + env.PRIVATE_MAIL_PROVIDER !== '' + ) { return setError( form, 'enableDomain',