login.lumbung.space/lumbung.space/login/code.ftl
decentral1se 1134b4572b
All checks were successful
continuous-integration/drone/push Build is passing
Copy/pasta over login from the base theme
2021-05-05 13:19:21 +02:00

20 lines
628 B
Plaintext
Executable File

<#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>