fmt
This commit is contained in:
parent
43165eeed2
commit
179cd84298
@ -6,7 +6,7 @@ import { useGetClassName } from "keycloakify/login/lib/useGetClassName";
|
|||||||
import type { KcContext } from "../kcContext";
|
import type { KcContext } from "../kcContext";
|
||||||
import type { I18n } from "../i18n";
|
import type { I18n } from "../i18n";
|
||||||
|
|
||||||
const my_custom_param= new URL(window.location.href).searchParams.get("my_custom_param");
|
const my_custom_param = new URL(window.location.href).searchParams.get("my_custom_param");
|
||||||
|
|
||||||
if (my_custom_param !== null) {
|
if (my_custom_param !== null) {
|
||||||
console.log("my_custom_param:", my_custom_param);
|
console.log("my_custom_param:", my_custom_param);
|
||||||
@ -44,7 +44,7 @@ export default function Login(props: PageProps<Extract<KcContext, { pageId: "log
|
|||||||
<Template
|
<Template
|
||||||
{...{ kcContext, i18n, doUseDefaultCss, classes }}
|
{...{ kcContext, i18n, doUseDefaultCss, classes }}
|
||||||
displayInfo={
|
displayInfo={
|
||||||
realm.password &&
|
realm.password &&
|
||||||
realm.registrationAllowed &&
|
realm.registrationAllowed &&
|
||||||
!registrationDisabled
|
!registrationDisabled
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user