17 lines
771 B
Plaintext
17 lines
771 B
Plaintext
<#import "template.ftl" as layout>
|
|
<@layout.registrationLayout displayMessage=true; section>
|
|
<#if section = "header">${msg("otpTitle")}
|
|
<#elseif section = "form">
|
|
<form id="kc-otp-form" action="${url.loginAction}" method="post">
|
|
<p class="han-help">${msg("otpSent", maskedPhone!"***")}</p>
|
|
<p class="han-test-mode">${msg("mockMode")}</p>
|
|
<div class="form-group">
|
|
<label for="otp">${msg("otpLabel")}</label>
|
|
<input id="otp" name="otp" type="password" inputmode="numeric" autocomplete="one-time-code"
|
|
minlength="4" maxlength="12" required autofocus/>
|
|
</div>
|
|
<button class="pf-c-button pf-m-primary pf-m-block" type="submit">${msg("verifyOtp")}</button>
|
|
</form>
|
|
</#if>
|
|
</@layout.registrationLayout>
|