From 746d3f4064be9a38c9f8aeff407627c556eac275 Mon Sep 17 00:00:00 2001 From: garronej Date: Tue, 20 Jun 2023 15:01:13 +0200 Subject: [PATCH] Update keycloakify --- package.json | 2 +- .../login/pages/shared/UserProfileFormFields.tsx | 8 +++++--- yarn.lock | 8 ++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 73d13bf..1ef96f5 100755 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "evt": "^2.4.15", "jwt-decode": "^3.1.2", "keycloak-js": "^21.0.1", - "keycloakify": "^7.13.1", + "keycloakify": "^7.13.2", "powerhooks": "^0.26.8", "react": "18.1.0", "react-dom": "18.1.0", diff --git a/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx b/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx index bfcb2c8..a95d47b 100644 --- a/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx +++ b/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx @@ -17,7 +17,7 @@ export type UserProfileFormFieldsProps = { export function UserProfileFormFields(props: UserProfileFormFieldsProps) { const { kcContext, onIsFormSubmittableValueChange, i18n, getClassName, BeforeField, AfterField } = props; - const { advancedMsg } = i18n; + const { advancedMsg, msg } = i18n; const { formValidationState: { fieldStateByAttributeName, isFormSubmittable }, @@ -99,7 +99,9 @@ export function UserProfileFormFields(props: UserProfileFormFieldsProps) { value={value} > <> - + {options.options.map(option => (