diff --git a/src/react-components/ory/user-settings-card.tsx b/src/react-components/ory/user-settings-card.tsx index 4b205a768..a6e855f97 100644 --- a/src/react-components/ory/user-settings-card.tsx +++ b/src/react-components/ory/user-settings-card.tsx @@ -29,7 +29,7 @@ export type UserSettingsFlowType = | "totp" | "webauthn" | "oidc" - | "lookupSecret" + | "lookup_secret" export type UserSettingsCardProps = { flow: SettingsFlow @@ -92,7 +92,7 @@ export const UserSettingsCard = ({ $flow = } break - case "lookupSecret": + case "lookup_secret": if (hasLookupSecret(flow.ui.nodes)) { hasFlow = true cardTitle = diff --git a/src/react-components/ory/user-settings-screen.tsx b/src/react-components/ory/user-settings-screen.tsx index 34c1183ba..87814818b 100644 --- a/src/react-components/ory/user-settings-screen.tsx +++ b/src/react-components/ory/user-settings-screen.tsx @@ -80,7 +80,7 @@ const nav = ({ id: "settings.navigation-backup-codes", defaultMessage: "2FA Backup Codes", }), - href: "#lookupSecret", + href: "#lookup_secret", iconLeft: "shield", testId: "backup-codes", }, @@ -151,7 +151,7 @@ const body = ({ "profile", "password", "oidc", - "lookupSecret", + "lookup_secret", "webauthn", "totp", ] as UserSettingsFlowType[]