diff --git a/web/src/flow/stages/prompt/PromptStage.ts b/web/src/flow/stages/prompt/PromptStage.ts index 87715e3d8..05bf8def6 100644 --- a/web/src/flow/stages/prompt/PromptStage.ts +++ b/web/src/flow/stages/prompt/PromptStage.ts @@ -1,4 +1,5 @@ import { LOCALES } from "@goauthentik/common/ui/locale"; +import { rootInterface } from "@goauthentik/elements/Base"; import "@goauthentik/elements/Divider"; import "@goauthentik/elements/EmptyState"; import "@goauthentik/elements/forms/FormElement"; @@ -19,6 +20,7 @@ import PFTitle from "@patternfly/patternfly/components/Title/title.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; import { + CapabilitiesEnum, PromptChallenge, PromptChallengeResponseRequest, PromptTypeEnum, @@ -181,14 +183,24 @@ export class PromptStage extends BaseStage ${t`Auto-detect (based on your browser)`} - ${LOCALES.map((locale) => { - return ``; - }).join("")} + }) + .join("")} `; default: return `

invalid type '${prompt.type}'

`;