Add missing scope in ftl template

This commit is contained in:
Joseph Garrone
2024-09-22 18:22:11 +02:00
parent 08f03b3118
commit 159a5f60d0

View File

@ -87,6 +87,7 @@ attributes_to_attributesByName: {
window.kcContext = kcContext; window.kcContext = kcContext;
<#if xKeycloakify.themeType == "login" > <#if xKeycloakify.themeType == "login" >
{
const script = document.createElement("script"); const script = document.createElement("script");
script.type = "importmap"; script.type = "importmap";
script.textContent = JSON.stringify({ script.textContent = JSON.stringify({
@ -96,6 +97,7 @@ window.kcContext = kcContext;
}, null, 2); }, null, 2);
document.head.appendChild(script); document.head.appendChild(script);
}
</#if> </#if>
function decodeHtmlEntities(htmlStr){ function decodeHtmlEntities(htmlStr){