keycloakify 10.0.0-rc.86 → 10.0.0-rc.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/440.index.js
CHANGED
@@ -485,7 +485,15 @@ var crawl = __webpack_require__(73036);
|
|
485
485
|
/** Assumes the theme type exists */
|
486
486
|
function readFieldNameUsage(params) {
|
487
487
|
const { themeSrcDirPath, themeType } = params;
|
488
|
-
|
488
|
+
// NOTE: We pre-populate with the synthetic user attributes defined in useUserProfileForm (can't be parsed automatically)
|
489
|
+
const fieldNames = new Set([
|
490
|
+
"firstName",
|
491
|
+
"lastName",
|
492
|
+
"email",
|
493
|
+
"username",
|
494
|
+
"password",
|
495
|
+
"password-confirm"
|
496
|
+
]);
|
489
497
|
for (const srcDirPath of [
|
490
498
|
(0,external_path_.join)((0,getThisCodebaseRootDirPath/* getThisCodebaseRootDirPath */.e)(), "src", themeType),
|
491
499
|
(0,external_path_.join)(themeSrcDirPath, themeType)
|
package/package.json
CHANGED
@@ -211,8 +211,6 @@ function decodeHtmlEntities(htmlStr){
|
|
211
211
|
<#continue>
|
212
212
|
</#if>
|
213
213
|
|
214
|
-
USER_DEFINED_EXCLUSIONS_eKsaY4ZsZ4eMr2
|
215
|
-
|
216
214
|
<#-- https://github.com/keycloakify/keycloakify/discussions/406 -->
|
217
215
|
<#if (
|
218
216
|
["register.ftl", "register-user-profile.ftl", "terms.ftl", "info.ftl", "login.ftl", "login-update-password.ftl", "login-oauth2-device-verify-user-code.ftl"]?seq_contains(pageId) &&
|
@@ -228,6 +226,8 @@ function decodeHtmlEntities(htmlStr){
|
|
228
226
|
<#local out_seq += ["/*Accessing attemptedUsername throwed an exception */"]>
|
229
227
|
</#attempt>
|
230
228
|
</#if>
|
229
|
+
|
230
|
+
USER_DEFINED_EXCLUSIONS_eKsaY4ZsZ4eMr2
|
231
231
|
|
232
232
|
<#attempt>
|
233
233
|
<#if !object[key]??>
|
@@ -11,7 +11,15 @@ export function readFieldNameUsage(params: {
|
|
11
11
|
}): string[] {
|
12
12
|
const { themeSrcDirPath, themeType } = params;
|
13
13
|
|
14
|
-
|
14
|
+
// NOTE: We pre-populate with the synthetic user attributes defined in useUserProfileForm (can't be parsed automatically)
|
15
|
+
const fieldNames = new Set<string>([
|
16
|
+
"firstName",
|
17
|
+
"lastName",
|
18
|
+
"email",
|
19
|
+
"username",
|
20
|
+
"password",
|
21
|
+
"password-confirm"
|
22
|
+
]);
|
15
23
|
|
16
24
|
for (const srcDirPath of [
|
17
25
|
pathJoin(getThisCodebaseRootDirPath(), "src", themeType),
|