diff --git a/src/routes/auth/+page.ts b/src/routes/auth/+page.ts index 0c1b929..b6d2db9 100644 --- a/src/routes/auth/+page.ts +++ b/src/routes/auth/+page.ts @@ -7,5 +7,10 @@ export const load: PageLoad = async ({ url }) => { if (url.searchParams.get('type') === 'recovery') { redirect(303, '/auth/recovery'); } + + if (url.searchParams.get('type') === 'signup') { + redirect(303, '/protected-routes/dashboard'); + } + return {}; };