diff --git a/apps/login/src/components/authentication-method-radio.tsx b/apps/login/src/components/authentication-method-radio.tsx index b01f8efdecb..9e0af959215 100644 --- a/apps/login/src/components/authentication-method-radio.tsx +++ b/apps/login/src/components/authentication-method-radio.tsx @@ -30,7 +30,7 @@ export function AuthenticationMethodRadio({ `${ active diff --git a/apps/login/src/lib/server/session.ts b/apps/login/src/lib/server/session.ts index 160e6d9de44..4c0836879d5 100644 --- a/apps/login/src/lib/server/session.ts +++ b/apps/login/src/lib/server/session.ts @@ -7,7 +7,6 @@ import { import { deleteSession, listAuthenticationMethodTypes } from "@/lib/zitadel"; import { RequestChallenges } from "@zitadel/proto/zitadel/session/v2/challenge_pb"; import { Checks } from "@zitadel/proto/zitadel/session/v2/session_service_pb"; -import { headers } from "next/headers"; import { getMostRecentSessionCookie, getSessionCookieById, @@ -68,7 +67,7 @@ export async function updateSession(options: UpdateSessionCommand) { }); // TODO remove ports from host header for URL with port - const host = "localhost" + const host = "localhost"; if ( host &&