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