feat(auth) : add optional email verification and profile setup
This commit is contained in:
@@ -5,6 +5,6 @@ export const instant = false;
|
||||
|
||||
export default async function RegisterPage({ searchParams }: PageProps<"/auth/register">) {
|
||||
await connection();
|
||||
const { next } = await searchParams;
|
||||
return <AccountPage mode="register" next={next} />;
|
||||
const { next, step } = await searchParams;
|
||||
return <AccountPage mode="register" next={next} setup={step === "profile"} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user