keycloak-theme/login/code.ftl
teutat3s bba54d2f5c
fix: file permissions from 755 to 644
These were set with executable bit in the original base theme, which is
unnecessary
2023-12-03 12:10:12 +01:00

20 lines
628 B
Plaintext

<#import "template.ftl" as layout>
<@layout.registrationLayout; section>
<#if section = "header">
<#if code.success>
${msg("codeSuccessTitle")}
<#else>
${msg("codeErrorTitle", code.error)}
</#if>
<#elseif section = "form">
<div id="kc-code">
<#if code.success>
<p>${msg("copyCodeInstruction")}</p>
<input id="code" class="${properties.kcTextareaClass!}" value="${code.code}"/>
<#else>
<p id="error">${code.error}</p>
</#if>
</div>
</#if>
</@layout.registrationLayout>