Fix previous release
This commit is contained in:
@ -2,17 +2,19 @@
|
|||||||
{
|
{
|
||||||
"url": (function (){
|
"url": (function (){
|
||||||
|
|
||||||
<#if !url?has_content>
|
<#if url?has_content>
|
||||||
return undefined;
|
|
||||||
|
return {
|
||||||
|
"loginAction": "${(url.loginAction!'')?no_esc}",
|
||||||
|
"resourcesPath": "${(url.resourcesPath!'')?no_esc}",
|
||||||
|
"resourcesCommonPath": "${(url.resourcesCommonPath!'')?no_esc}",
|
||||||
|
"loginRestartFlowUrl": "${(url.loginRestartFlowUrl!'')?no_esc}",
|
||||||
|
"loginUrl": "${(url.loginUrl!'')?no_esc}"
|
||||||
|
};
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
return {
|
return undefined;
|
||||||
"loginAction": "${(url.loginAction!'')?no_esc}",
|
|
||||||
"resourcesPath": "${(url.resourcesPath!'')?no_esc}",
|
|
||||||
"resourcesCommonPath": "${(url.resourcesCommonPath!'')?no_esc}",
|
|
||||||
"loginRestartFlowUrl": "${(url.loginRestartFlowUrl!'')?no_esc}",
|
|
||||||
"loginUrl": "${(url.loginUrl!'')?no_esc}"
|
|
||||||
};
|
|
||||||
|
|
||||||
})(),
|
})(),
|
||||||
"realm": {
|
"realm": {
|
||||||
@ -23,56 +25,58 @@
|
|||||||
},
|
},
|
||||||
"locale": (function (){
|
"locale": (function (){
|
||||||
|
|
||||||
<#if !realm.internationalizationEnabled>
|
<#if realm.internationalizationEnabled>
|
||||||
return undefined;
|
|
||||||
|
return {
|
||||||
|
"supported": (function(){
|
||||||
|
|
||||||
|
var out= [];
|
||||||
|
|
||||||
|
<#list locale.supported as lng>
|
||||||
|
out.push({
|
||||||
|
"url": "${lng.url?no_esc}",
|
||||||
|
"label": "${lng.label}",
|
||||||
|
"languageTag": "${lng.languageTag}"
|
||||||
|
});
|
||||||
|
</#list>
|
||||||
|
|
||||||
|
return out;
|
||||||
|
|
||||||
|
})(),
|
||||||
|
"current": "${locale.current}"
|
||||||
|
};
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
return {
|
return undefined;
|
||||||
"supported": (function(){
|
|
||||||
|
|
||||||
<#if !realm.internationalizationEnabled>
|
|
||||||
return undefined;
|
|
||||||
</#if>
|
|
||||||
|
|
||||||
var out= [];
|
|
||||||
|
|
||||||
<#list locale.supported as lng>
|
|
||||||
out.push({
|
|
||||||
"url": "${lng.url?no_esc}",
|
|
||||||
"label": "${lng.label}",
|
|
||||||
"languageTag": "${lng.languageTag}"
|
|
||||||
});
|
|
||||||
</#list>
|
|
||||||
|
|
||||||
return out;
|
|
||||||
|
|
||||||
})(),
|
|
||||||
"current": "${locale.current}"
|
|
||||||
};
|
|
||||||
|
|
||||||
})(),
|
})(),
|
||||||
"auth": (function (){
|
"auth": (function (){
|
||||||
|
|
||||||
<#if !auth?has_content>
|
<#if auth?has_content>
|
||||||
return undefined;
|
|
||||||
|
var out= {
|
||||||
|
"showUsername": ${auth.showUsername()?c},
|
||||||
|
"showResetCredentials": ${auth.showResetCredentials()?c},
|
||||||
|
"showTryAnotherWayLink": ${auth.showTryAnotherWayLink()?c},
|
||||||
|
};
|
||||||
|
|
||||||
|
<#if auth.showUsername() && !auth.showResetCredentials()>
|
||||||
|
Object.assign(
|
||||||
|
out,
|
||||||
|
{
|
||||||
|
"attemptedUsername": "${auth.attemptedUsername}"
|
||||||
|
}
|
||||||
|
);
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
return out;
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
var out= {
|
return undefined;
|
||||||
"showUsername": ${auth.showUsername()?c},
|
|
||||||
"showResetCredentials": ${auth.showResetCredentials()?c},
|
|
||||||
"showTryAnotherWayLink": ${auth.showTryAnotherWayLink()?c},
|
|
||||||
};
|
|
||||||
|
|
||||||
<#if auth.showUsername() && !auth.showResetCredentials()>
|
|
||||||
Object.assign(
|
|
||||||
out,
|
|
||||||
{
|
|
||||||
"attemptedUsername": "${auth.attemptedUsername}"
|
|
||||||
}
|
|
||||||
);
|
|
||||||
</#if>
|
|
||||||
|
|
||||||
return out;
|
|
||||||
|
|
||||||
})(),
|
})(),
|
||||||
"scripts": (function(){
|
"scripts": (function(){
|
||||||
@ -90,14 +94,16 @@
|
|||||||
})(),
|
})(),
|
||||||
"message": (function (){
|
"message": (function (){
|
||||||
|
|
||||||
<#if !message?has_content>
|
<#if message?has_content>
|
||||||
return undefined;
|
|
||||||
|
return {
|
||||||
|
"type": "${message.type}",
|
||||||
|
"summary": String.htmlUnescape("${message.summary}")
|
||||||
|
};
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
return {
|
return undefined;
|
||||||
"type": "${message.type}",
|
|
||||||
"summary": String.htmlUnescape("${message.summary}")
|
|
||||||
};
|
|
||||||
|
|
||||||
})(),
|
})(),
|
||||||
"isAppInitiatedAction": (function (){
|
"isAppInitiatedAction": (function (){
|
||||||
|
Reference in New Issue
Block a user