Add missing scope in ftl template
This commit is contained in:
@ -87,15 +87,17 @@ attributes_to_attributesByName: {
|
|||||||
window.kcContext = kcContext;
|
window.kcContext = kcContext;
|
||||||
|
|
||||||
<#if xKeycloakify.themeType == "login" >
|
<#if xKeycloakify.themeType == "login" >
|
||||||
const script = document.createElement("script");
|
{
|
||||||
script.type = "importmap";
|
const script = document.createElement("script");
|
||||||
script.textContent = JSON.stringify({
|
script.type = "importmap";
|
||||||
imports: {
|
script.textContent = JSON.stringify({
|
||||||
"rfc4648": kcContext.url.resourcesCommonPath + "/node_modules/rfc4648/lib/rfc4648.js"
|
imports: {
|
||||||
}
|
"rfc4648": kcContext.url.resourcesCommonPath + "/node_modules/rfc4648/lib/rfc4648.js"
|
||||||
}, 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