This commit is contained in:
Max Peintner
2024-11-15 13:40:47 +01:00
parent f5c7a17617
commit bdd0357211
2 changed files with 2 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ export function AuthenticationMethodRadio({
<RadioGroup.Option
key={method.name}
value={method}
data-testid={method.name+"-radio"}
data-testid={method.name + "-radio"}
className={({ active, checked }) =>
`${
active

View File

@@ -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 &&