keycloakify 8.4.1 → 8.4.2
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.
@@ -455,9 +455,10 @@
|
|
455
455
|
<#-- https://github.com/keycloakify/keycloakify/issues/91#issue-1212319466 (reports with error.ftl and Kc18) -->
|
456
456
|
<#-- https://github.com/keycloakify/keycloakify/issues/109#issuecomment-1134610163 -->
|
457
457
|
<#-- https://github.com/keycloakify/keycloakify/issues/357 -->
|
458
|
+
<#-- https://github.com/keycloakify/keycloakify/discussions/406#discussioncomment-7514787 -->
|
458
459
|
key == "loginAction" &&
|
459
460
|
are_same_path(path, ["url"]) &&
|
460
|
-
["saml-post-form.ftl", "error.ftl", "info.ftl", "login-oauth-grant.ftl", "logout-confirm.ftl"]?seq_contains(pageId) &&
|
461
|
+
["saml-post-form.ftl", "error.ftl", "info.ftl", "login-oauth-grant.ftl", "logout-confirm.ftl", "login-oauth2-device-verify-user-code.ftl"]?seq_contains(pageId) &&
|
461
462
|
!(auth?has_content && auth.showTryAnotherWayLink())
|
462
463
|
) || (
|
463
464
|
<#-- https://github.com/keycloakify/keycloakify/issues/362 -->
|
@@ -490,14 +491,19 @@
|
|
490
491
|
<#continue>
|
491
492
|
</#if>
|
492
493
|
|
493
|
-
|
494
|
+
<#-- https://github.com/keycloakify/keycloakify/discussions/406 -->
|
495
|
+
<#if (
|
496
|
+
["register.ftl", "info.ftl", "login.ftl", "login-update-password.ftl", "login-oauth2-device-verify-user-code.ftl"]?seq_contains(pageId) &&
|
497
|
+
key == "attemptedUsername" && are_same_path(path, ["auth"])
|
498
|
+
)>
|
494
499
|
<#attempt>
|
495
500
|
<#-- https://github.com/keycloak/keycloak/blob/3a2bf0c04bcde185e497aaa32d0bb7ab7520cf4a/themes/src/main/resources/theme/base/login/template.ftl#L63 -->
|
496
|
-
<#-- https://github.com/keycloakify/keycloakify/discussions/406 -->
|
497
501
|
<#if !(auth?has_content && auth.showUsername() && !auth.showResetCredentials())>
|
502
|
+
<#local out_seq += ["/*If you need '" + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
498
503
|
<#continue>
|
499
504
|
</#if>
|
500
505
|
<#recover>
|
506
|
+
<#local out_seq += ["/*Testing if attemptedUsername should be skipped throwed an exception */"]>
|
501
507
|
</#attempt>
|
502
508
|
</#if>
|
503
509
|
|
package/package.json
CHANGED
@@ -455,9 +455,10 @@
|
|
455
455
|
<#-- https://github.com/keycloakify/keycloakify/issues/91#issue-1212319466 (reports with error.ftl and Kc18) -->
|
456
456
|
<#-- https://github.com/keycloakify/keycloakify/issues/109#issuecomment-1134610163 -->
|
457
457
|
<#-- https://github.com/keycloakify/keycloakify/issues/357 -->
|
458
|
+
<#-- https://github.com/keycloakify/keycloakify/discussions/406#discussioncomment-7514787 -->
|
458
459
|
key == "loginAction" &&
|
459
460
|
are_same_path(path, ["url"]) &&
|
460
|
-
["saml-post-form.ftl", "error.ftl", "info.ftl", "login-oauth-grant.ftl", "logout-confirm.ftl"]?seq_contains(pageId) &&
|
461
|
+
["saml-post-form.ftl", "error.ftl", "info.ftl", "login-oauth-grant.ftl", "logout-confirm.ftl", "login-oauth2-device-verify-user-code.ftl"]?seq_contains(pageId) &&
|
461
462
|
!(auth?has_content && auth.showTryAnotherWayLink())
|
462
463
|
) || (
|
463
464
|
<#-- https://github.com/keycloakify/keycloakify/issues/362 -->
|
@@ -490,14 +491,19 @@
|
|
490
491
|
<#continue>
|
491
492
|
</#if>
|
492
493
|
|
493
|
-
|
494
|
+
<#-- https://github.com/keycloakify/keycloakify/discussions/406 -->
|
495
|
+
<#if (
|
496
|
+
["register.ftl", "info.ftl", "login.ftl", "login-update-password.ftl", "login-oauth2-device-verify-user-code.ftl"]?seq_contains(pageId) &&
|
497
|
+
key == "attemptedUsername" && are_same_path(path, ["auth"])
|
498
|
+
)>
|
494
499
|
<#attempt>
|
495
500
|
<#-- https://github.com/keycloak/keycloak/blob/3a2bf0c04bcde185e497aaa32d0bb7ab7520cf4a/themes/src/main/resources/theme/base/login/template.ftl#L63 -->
|
496
|
-
<#-- https://github.com/keycloakify/keycloakify/discussions/406 -->
|
497
501
|
<#if !(auth?has_content && auth.showUsername() && !auth.showResetCredentials())>
|
502
|
+
<#local out_seq += ["/*If you need '" + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
498
503
|
<#continue>
|
499
504
|
</#if>
|
500
505
|
<#recover>
|
506
|
+
<#local out_seq += ["/*Testing if attemptedUsername should be skipped throwed an exception */"]>
|
501
507
|
</#attempt>
|
502
508
|
</#if>
|
503
509
|
|