2020-02-06 09:35:11 +00:00
|
|
|
<#import "template.ftl" as layout>
|
2019-05-15 06:39:33 +00:00
|
|
|
<@layout.registrationLayout; section>
|
|
|
|
<#if section = "title">
|
|
|
|
${msg("loginTitle",realm.name)}
|
|
|
|
<#elseif section = "header">
|
|
|
|
${msg("loginTitleHtml",realm.name)}
|
|
|
|
<#elseif section = "form">
|
|
|
|
<form id="kc-totp-login-form" class="${properties.kcFormClass!}" action="${url.loginAction}" method="post">
|
|
|
|
<div class="${properties.kcFormGroupClass!}">
|
|
|
|
<div class="${properties.kcLabelWrapperClass!}">
|
|
|
|
<label for="totp" class="${properties.kcLabelClass!}">What is your mom's first name</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="${properties.kcInputWrapperClass!}">
|
|
|
|
<input id="totp" name="secret_answer" type="text" class="${properties.kcInputClass!}" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="${properties.kcFormGroupClass!}">
|
|
|
|
<div id="kc-form-options" class="${properties.kcFormOptionsClass!}">
|
|
|
|
<div class="${properties.kcFormOptionsWrapperClass!}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="kc-form-buttons" class="${properties.kcFormButtonsClass!}">
|
|
|
|
<div class="${properties.kcFormButtonsWrapperClass!}">
|
2019-11-14 13:45:05 +00:00
|
|
|
<input type="hidden" id="id-hidden-input" name="credentialId" <#if auth.selectedCredential?has_content>value="${auth.selectedCredential}"</#if>/>
|
|
|
|
<input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonBlockClass!} ${properties.kcButtonLargeClass!}"
|
|
|
|
name="login" id="kc-login" type="submit" value="${msg("doLogIn")}"/>
|
2019-05-15 06:39:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</#if>
|
|
|
|
</@layout.registrationLayout>
|