Skip to content

Commit

Permalink
KEYCLOAK-15383 Translation strings escaped twice in saml-post-form.ftl
Browse files Browse the repository at this point in the history
  • Loading branch information
lscorcia authored and hmlnarik committed Sep 16, 2020
1 parent 0978d78 commit c6608c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions themes/src/main/resources/theme/base/login/saml-post-form.ftl
Original file line number Diff line number Diff line change
@@ -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}"/>
Expand All @@ -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>
Expand Down

0 comments on commit c6608c1

Please sign in to comment.