Update KcContext type def, use an ext to get password policies.

This commit is contained in:
Joseph Garrone
2024-04-21 20:29:18 +02:00
parent 7e793cabe8
commit 9040704659
2 changed files with 84 additions and 31 deletions

View File

@ -361,6 +361,10 @@
<#-- See: https://github.com/keycloakify/keycloakify/issues/534 -->
are_same_path(path, ["login"]) &&
key == "password"
) || (
<#-- Remove realmAttributes added by https://github.com/jcputney/keycloak-theme-additional-info-extension for peace of mind. -->
are_same_path(path, []) &&
key == "realmAttributes"
)
>
<#local out_seq += ["/*If you need '" + path?join(".") + "." + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>