diff --git a/src/pages/auth/user-info/index.tsx b/src/pages/auth/setup-profile/index.tsx similarity index 100% rename from src/pages/auth/user-info/index.tsx rename to src/pages/auth/setup-profile/index.tsx diff --git a/src/pages/auth/sign-in/index.tsx b/src/pages/auth/sign-in/index.tsx index c0217cf..c0f82da 100644 --- a/src/pages/auth/sign-in/index.tsx +++ b/src/pages/auth/sign-in/index.tsx @@ -98,7 +98,7 @@ export async function getServerSideProps(ctx: GetServerSidePropsContext) { if (isNewUser) { return { redirect: { - destination: "/auth/user-info", + destination: "/auth/setup-profile", permanent: false, }, };