diff --git a/packages/app/src/app/(default)/login/page.tsx b/packages/app/src/app/(default)/login/page.tsx index 28b7cbbe3..16bdf2a19 100644 --- a/packages/app/src/app/(default)/login/page.tsx +++ b/packages/app/src/app/(default)/login/page.tsx @@ -3,6 +3,7 @@ import Alert from "@codegouvfr/react-dsfr/Alert"; import { config } from "@common/config"; import { type NextServerPageProps } from "@common/utils/next"; import { Box, CenteredContainer, Link } from "@design-system"; +import { redirect } from "next/navigation"; import { getServerSession } from "next-auth"; import { EmailLogin } from "./EmailLogin"; @@ -40,6 +41,8 @@ const LoginPage = async ({ searchParams }: NextServerPageProps

{title}