Add missing scope in ftl template
This commit is contained in:
@ -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){
|
||||||
|
Reference in New Issue
Block a user