Skip to content

Commit 727f6b5

Browse files
committed
Add email redirect to signUp function
The signUp function now includes an emailRedirectTo parameter, directing users to /auth/callback after email verification. This improves the user flow after sign-up.
1 parent 153b9c3 commit 727f6b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/features/auth/auth-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export async function signUp(
104104
data: {
105105
name,
106106
language: language || 'en'
107-
}
107+
},
108+
emailRedirectTo: `${window.location.origin}/auth/callback`
108109
}
109110
})
110111

0 commit comments

Comments
 (0)