Update Keycloakify and fix the condition for rendering forgoten password in loggin
This commit is contained in:
parent
ad0dba92ed
commit
88a0e05756
|
@ -26,7 +26,7 @@
|
|||
"dependencies": {
|
||||
"evt": "^2.5.7",
|
||||
"oidc-spa": "^4.0.0",
|
||||
"keycloakify": "^9.1.10",
|
||||
"keycloakify": "^9.1.11",
|
||||
"powerhooks": "^1.0.8",
|
||||
"react": "18.1.0",
|
||||
"react-dom": "18.1.0",
|
||||
|
|
|
@ -43,13 +43,14 @@ export default function Login(props: PageProps<Extract<KcContext, { pageId: "log
|
|||
return (
|
||||
<Template
|
||||
{...{ kcContext, i18n, doUseDefaultCss, classes }}
|
||||
displayInfo={social.displayInfo}
|
||||
displayInfo={
|
||||
realm.password &&
|
||||
realm.registrationAllowed &&
|
||||
!registrationDisabled
|
||||
}
|
||||
displayWide={realm.password && social.providers !== undefined}
|
||||
headerNode={msg("doLogIn")}
|
||||
infoNode={
|
||||
realm.password &&
|
||||
realm.registrationAllowed &&
|
||||
!registrationDisabled && (
|
||||
<div id="kc-registration">
|
||||
<span>
|
||||
{msg("noAccount")}
|
||||
|
@ -58,7 +59,6 @@ export default function Login(props: PageProps<Extract<KcContext, { pageId: "log
|
|||
</a>
|
||||
</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
>
|
||||
<div id="kc-form" className={clsx(realm.password && social.providers !== undefined && getClassName("kcContentWrapperClass"))}>
|
||||
|
|
|
@ -9769,10 +9769,10 @@ jwt-decode@^3.1.2:
|
|||
resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-3.1.2.tgz#3fb319f3675a2df0c2895c8f5e9fa4b67b04ed59"
|
||||
integrity sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==
|
||||
|
||||
keycloakify@^9.1.10:
|
||||
version "9.1.10"
|
||||
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.1.10.tgz#048dd0c40fa6bbe25aec23f4deb803db24a7542e"
|
||||
integrity sha512-BIXuiHLLtz/B04uHwE6jrzIgEPcfrFzGZDRB8HMfCFkgz30RJrf+7arFnYBwvFNs7hcwZOJzJyVIVQb0ixPxrw==
|
||||
keycloakify@^9.1.11:
|
||||
version "9.1.11"
|
||||
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.1.11.tgz#d52f895c5d79069b194bdc334dd0a846dd5856e1"
|
||||
integrity sha512-vI6KZRTjAFhtVPvNK2cves9dUJjSEzAL25XyXbrAfc1rrG7o/PxIBtbvqEmMfmLC9hS0gAvjsXcmBSaBff+ADQ==
|
||||
dependencies:
|
||||
"@babel/generator" "^7.22.9"
|
||||
"@babel/parser" "^7.22.7"
|
||||
|
|
Loading…
Reference in a new issue