diff --git a/web/src/lib/api/auth.remote.ts b/web/src/lib/api/auth.remote.ts index de13453..8ef0320 100644 --- a/web/src/lib/api/auth.remote.ts +++ b/web/src/lib/api/auth.remote.ts @@ -5,7 +5,7 @@ import { signupSchema, loginSchema } from '$lib/schema/auth'; export const signup = form(signupSchema, async (user) => { await auth.api.signUpEmail({ body: user }); - redirect(307, '/dashboard'); + redirect(307, '/verify-email'); }); export const login = form(loginSchema, async (user) => { diff --git a/web/src/routes/verify-email/+page.svelte b/web/src/routes/verify-email/+page.svelte new file mode 100644 index 0000000..fa86721 --- /dev/null +++ b/web/src/routes/verify-email/+page.svelte @@ -0,0 +1,30 @@ + + +
+ We sent a verification link to your email address. Click the link to verify your account. +
++ Didn't receive it? Check your spam folder or + + try signing up again. +
+ +