KEYCLOAK-15383 Translation strings escaped twice in saml-post-form.ftl

This commit is contained in:
Luca Leonardo Scorcia 2020-08-29 23:10:40 +02:00 committed by Hynek Mlnařík
parent 0978d78a48
commit c6608c1561

View file

@ -1,10 +1,10 @@
<#import "template.ftl" as layout>
<@layout.registrationLayout; section>
<#if section = "header">
${kcSanitize(msg("saml.post-form.title"))}
${msg("saml.post-form.title")}
<#elseif section = "form">
<script>window.onload = function() {document.forms[0].submit()};</script>
<p>${kcSanitize(msg("saml.post-form.message"))}</p>
<p>${msg("saml.post-form.message")}</p>
<form name="saml-post-binding" method="post" action="${samlPost.url}">
<#if samlPost.SAMLRequest??>
<input type="hidden" name="SAMLRequest" value="${samlPost.SAMLRequest}"/>
@ -17,8 +17,8 @@
</#if>
<noscript>
<p>${kcSanitize(msg("saml.post-form.js-disabled"))}</p>
<input type="submit" value="${kcSanitize(msg("doContinue"))}"/>
<p>${msg("saml.post-form.js-disabled")}</p>
<input type="submit" value="${msg("doContinue")}"/>
</noscript>
</form>
</#if>