diff --git a/apps/ui/app/[locale]/(auth)/login/LoginForm.tsx b/apps/ui/app/[locale]/(auth)/login/LoginForm.tsx index 92a0e2d..0df0ffd 100644 --- a/apps/ui/app/[locale]/(auth)/login/LoginForm.tsx +++ b/apps/ui/app/[locale]/(auth)/login/LoginForm.tsx @@ -56,7 +56,7 @@ export default function LoginForm() { message: "Something went wrong. Please report to the administrators.", }); } else { - router.push("/descriptors"); + router.push("/my-molecules"); } }); } diff --git a/apps/ui/app/[locale]/(auth)/login/page.tsx b/apps/ui/app/[locale]/(auth)/login/page.tsx index 68c7f2a..9592181 100644 --- a/apps/ui/app/[locale]/(auth)/login/page.tsx +++ b/apps/ui/app/[locale]/(auth)/login/page.tsx @@ -11,7 +11,7 @@ const LoginForm = dynamic(() => import("./LoginForm"), { export default async function Page() { const session = await getSession(); - if (session) redirect("/descriptors"); + if (session) redirect("/my-molecules"); return ( diff --git a/apps/ui/app/[locale]/(auth)/register/RegisterForm.tsx b/apps/ui/app/[locale]/(auth)/register/RegisterForm.tsx index 1fc675e..40217d4 100644 --- a/apps/ui/app/[locale]/(auth)/register/RegisterForm.tsx +++ b/apps/ui/app/[locale]/(auth)/register/RegisterForm.tsx @@ -58,7 +58,7 @@ export default function RegisterForm() { color: "green", message: "Your account has been created.", }); - router.push("/descriptors"); + router.push("/my-molecules"); } }) .finally(() => { diff --git a/apps/ui/app/[locale]/(auth)/register/page.tsx b/apps/ui/app/[locale]/(auth)/register/page.tsx index f843adb..f9b0c8e 100644 --- a/apps/ui/app/[locale]/(auth)/register/page.tsx +++ b/apps/ui/app/[locale]/(auth)/register/page.tsx @@ -11,7 +11,7 @@ const RegisterForm = dynamic(() => import("./RegisterForm"), { export default async function Page() { const session = await getSession(); - if (session) redirect("/descriptors"); + if (session) redirect("/my-molecules"); return (