Keycloak
33 строки · 1.6 Кб
1<#import "template.ftl" as layout>
2<@layout.registrationLayout; section>
3<#if section = "title">
4${msg("loginTitle",realm.name)}
5<#elseif section = "header">
6Setup Secret Question
7<#elseif section = "form">
8<form id="kc-totp-login-form" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post">
9<div class="${properties.kcFormGroupClass!}">
10<div class="${properties.kcLabelWrapperClass!}">
11<label for="totp" class="${properties.kcLabelClass!}">What is your mom's first name?</label>
12</div>
13
14<div class="${properties.kcInputWrapperClass!}">
15<input id="totp" name="secret_answer" type="text" class="${properties.kcInputClass!}" />
16</div>
17</div>
18
19<div class="${properties.kcFormGroupClass!}">
20<div id="kc-form-options" class="${properties.kcFormOptionsClass!}">
21<div class="${properties.kcFormOptionsWrapperClass!}">
22</div>
23</div>
24
25<div id="kc-form-buttons" class="${properties.kcFormButtonsClass!}">
26<div class="${properties.kcFormButtonsWrapperClass!}">
27<input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" name="login" id="kc-login" type="submit" value="${msg("doSubmit")}"/>
28</div>
29</div>
30</div>
31</form>
32</#if>
33</@layout.registrationLayout>