diff --git a/packages/frontend/app/routes/auth._index.tsx b/packages/frontend/app/routes/auth._index.tsx index 042fa9e031..ccb515d6fb 100644 --- a/packages/frontend/app/routes/auth._index.tsx +++ b/packages/frontend/app/routes/auth._index.tsx @@ -11,7 +11,7 @@ export const loader = async ({ request }: LoaderFunctionArgs) => { return null } -export const action = () => { +export async function action() { return redirectDocument( `${variables.kratosBrowserPublicUrl}/self-service/login/browser` )