aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Joseph Garrone <[email protected]>2024-01-26 01:29:30 +0100
committerGravatar Joseph Garrone <[email protected]>2024-01-26 01:29:30 +0100
commit179cd84298ced716b465b84b8c6ac98f2fb0981b (patch)
treeaa083beed7712c209905b4c013908326582fab67 /src
parentBump version (diff)
fmt
Diffstat (limited to 'src')
-rw-r--r--src/keycloak-theme/login/pages/Login.tsx20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/keycloak-theme/login/pages/Login.tsx b/src/keycloak-theme/login/pages/Login.tsx
index 36528ba..6f3e575 100644
--- a/src/keycloak-theme/login/pages/Login.tsx
+++ b/src/keycloak-theme/login/pages/Login.tsx
@@ -6,7 +6,7 @@ import { useGetClassName } from "keycloakify/login/lib/useGetClassName";
import type { KcContext } from "../kcContext";
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) {
console.log("my_custom_param:", my_custom_param);
@@ -44,21 +44,21 @@ export default function Login(props: PageProps<Extract<KcContext, { pageId: "log
<Template
{...{ kcContext, i18n, doUseDefaultCss, classes }}
displayInfo={
-realm.password &&
+ realm.password &&
realm.registrationAllowed &&
!registrationDisabled
}
displayWide={realm.password && social.providers !== undefined}
headerNode={msg("doLogIn")}
infoNode={
- <div id="kc-registration">
- <span>
- {msg("noAccount")}
- <a tabIndex={6} href={url.registrationUrl}>
- {msg("doRegister")}
- </a>
- </span>
- </div>
+ <div id="kc-registration">
+ <span>
+ {msg("noAccount")}
+ <a tabIndex={6} href={url.registrationUrl}>
+ {msg("doRegister")}
+ </a>
+ </span>
+ </div>
}
>
<div id="kc-form" className={clsx(realm.password && social.providers !== undefined && getClassName("kcContentWrapperClass"))}>