Fix previous release

This commit is contained in:
Joseph Garrone
2021-04-01 17:15:28 +02:00
parent 59f0a843b0
commit 654277feda

View File

@ -2,9 +2,7 @@
{ {
"url": (function (){ "url": (function (){
<#if !url?has_content> <#if url?has_content>
return undefined;
</#if>
return { return {
"loginAction": "${(url.loginAction!'')?no_esc}", "loginAction": "${(url.loginAction!'')?no_esc}",
@ -14,6 +12,10 @@
"loginUrl": "${(url.loginUrl!'')?no_esc}" "loginUrl": "${(url.loginUrl!'')?no_esc}"
}; };
</#if>
return undefined;
})(), })(),
"realm": { "realm": {
"displayName": "${realm.displayName!''}" || undefined, "displayName": "${realm.displayName!''}" || undefined,
@ -23,17 +25,11 @@
}, },
"locale": (function (){ "locale": (function (){
<#if !realm.internationalizationEnabled> <#if realm.internationalizationEnabled>
return undefined;
</#if>
return { return {
"supported": (function(){ "supported": (function(){
<#if !realm.internationalizationEnabled>
return undefined;
</#if>
var out= []; var out= [];
<#list locale.supported as lng> <#list locale.supported as lng>
@ -50,12 +46,15 @@
"current": "${locale.current}" "current": "${locale.current}"
}; };
</#if>
return undefined;
})(), })(),
"auth": (function (){ "auth": (function (){
<#if !auth?has_content> <#if auth?has_content>
return undefined;
</#if>
var out= { var out= {
"showUsername": ${auth.showUsername()?c}, "showUsername": ${auth.showUsername()?c},
@ -74,6 +73,11 @@
return out; return out;
</#if>
return undefined;
})(), })(),
"scripts": (function(){ "scripts": (function(){
@ -90,15 +94,17 @@
})(), })(),
"message": (function (){ "message": (function (){
<#if !message?has_content> <#if message?has_content>
return undefined;
</#if>
return {  return { 
"type": "${message.type}", "type": "${message.type}",
"summary": String.htmlUnescape("${message.summary}") "summary": String.htmlUnescape("${message.summary}")
}; };
</#if>
return undefined;
})(), })(),
"isAppInitiatedAction": (function (){ "isAppInitiatedAction": (function (){