2024-06-05 06:10:11 +02:00
|
|
|
import React from "react";
|
2024-06-10 21:05:17 +02:00
|
|
|
import DefaultPage from "../../dist/login/DefaultPage";
|
2024-06-05 22:48:13 +02:00
|
|
|
import type { KcContext } from "./KcContext";
|
2024-06-09 11:20:45 +02:00
|
|
|
import { useI18n } from "./i18n";
|
2024-05-13 04:00:43 +02:00
|
|
|
import Template from "../../dist/login/Template";
|
|
|
|
import UserProfileFormFields from "../../dist/login/UserProfileFormFields";
|
2023-04-17 04:01:44 +02:00
|
|
|
|
2024-06-09 11:53:25 +02:00
|
|
|
export default function KcPage(props: { kcContext: KcContext }) {
|
2023-04-17 04:01:44 +02:00
|
|
|
const { kcContext } = props;
|
|
|
|
|
2024-06-09 11:20:45 +02:00
|
|
|
const { i18n } = useI18n({ kcContext });
|
|
|
|
|
2024-06-09 09:34:39 +02:00
|
|
|
return (
|
2024-06-09 11:24:50 +02:00
|
|
|
<DefaultPage
|
2024-06-09 09:34:39 +02:00
|
|
|
kcContext={kcContext}
|
2024-06-09 11:20:45 +02:00
|
|
|
i18n={i18n}
|
2024-06-09 09:34:39 +02:00
|
|
|
Template={Template}
|
|
|
|
doUseDefaultCss={true}
|
|
|
|
UserProfileFormFields={UserProfileFormFields}
|
|
|
|
doMakeUserConfirmPassword={true}
|
|
|
|
/>
|
|
|
|
);
|
2023-04-17 04:01:44 +02:00
|
|
|
}
|