import { getKcClsx, KcClsx } from "keycloakify/login/lib/kcClsx"; import { kcSanitize } from "keycloakify/lib/kcSanitize"; import type { PageProps } from "keycloakify/login/pages/PageProps"; import type { KcContext } from "../KcContext"; import type { I18n } from "../i18n"; export default function LoginConfigTotp(props: PageProps, I18n>) { const { kcContext, i18n, doUseDefaultCss, Template, classes } = props; const { kcClsx } = getKcClsx({ doUseDefaultCss, classes }); const { url, isAppInitiatedAction, totp, mode, messagesPerField } = kcContext; const { msg, msgStr, advancedMsg } = i18n; return ( ); } function LogoutOtherSessions(props: { kcClsx: KcClsx; i18n: I18n }) { const { kcClsx, i18n } = props; const { msg } = i18n; return (
); }