Update keycloaky

This commit is contained in:
garronej committed 2023-07-24 07:30:45 +02:00
1 parent af9dad5641
commit f8a7918e87
4 files changed
+129 -18

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@
"evt": "^2.4.15",
"jwt-decode": "^3.1.2",
"keycloak-js": "^21.0.1",
"keycloakify": "^7.14.3",
"keycloakify": "^7.15.0",
"powerhooks": "^0.26.8",
"react": "18.1.0",
"react-dom": "18.1.0",
+4 -2
View File
@@ -8,15 +8,17 @@ export const { useI18n } = createUseI18n({
en: {
alphanumericalCharsOnly: "Only alphanumerical characters",
gender: "Gender",
// Here we overwrite the default english value for the message "doForgotPassword"
// Here we overwrite the default english value for the message "doForgotPassword"
// that is "Forgot Password?" see: https://github.com/InseeFrLab/keycloakify/blob/f0ae5ea908e0aa42391af323b6d5e2fd371af851/src/lib/i18n/generated_messages/18.0.1/login/en.ts#L17
doForgotPassword: "I forgot my password",
invalidUserMessage: "Invalid username or password. (this message was overwrite in the theme)"
},
fr: {
/* spell-checker: disable */
alphanumericalCharsOnly: "Caractère alphanumérique uniquement",
gender: "Genre",
doForgotPassword: "J'ai oublié mon mot de passe"
doForgotPassword: "J'ai oublié mon mot de passe",
invalidUserMessage: "Nom d'utilisateur ou mot de passe invalide. (ce message a été écrasé dans le thème)"
/* spell-checker: enable */
}
});
+2
View File
@@ -1,6 +1,8 @@
import { createGetKcContext } from "keycloakify/login";
export type KcContextExtension =
// WARNING: It's important to keep in sync the extraThemeProperties declared in the package.json and this type definition.
| { pageId: "login.ftl"; extraThemeProperties: { foo: string; }; }
| { pageId: "my-extra-page-1.ftl"; }
| { pageId: "my-extra-page-2.ftl"; someCustomValue: string; }
// NOTE: register.ftl is deprecated in favor of register-user-profile.ftl
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff. Show more