mirror of
https://github.com/kanidm/kanidm.git
synced 2025-05-29 20:33:55 +02:00
32 lines
755 B
HTML
32 lines
755 B
HTML
(% extends "login_base.html" %)
|
|
|
|
(% block logincontainer %)
|
|
<label for="totp" class="form-label">TOTP</label>
|
|
(% match errors %)
|
|
(% when LoginTotpError::Syntax %)
|
|
<span class="error">Invalid Value</span>
|
|
<span class="error">TOTP must only consist of numbers</span>
|
|
(% when LoginTotpError::None %)
|
|
(% endmatch %)
|
|
<form id="login" action="/ui/login/totp" method="post">
|
|
<div class="input-group mb-3">
|
|
<input
|
|
autofocus=true
|
|
class="autofocus form-control"
|
|
id="totp"
|
|
name="totp"
|
|
type="number"
|
|
autocomplete="one-time-code"
|
|
value="(( totp ))"
|
|
required=true
|
|
/>
|
|
</div>
|
|
<div class="input-group mb-3 justify-content-md-center">
|
|
<button
|
|
type="submit"
|
|
class="btn btn-dark"
|
|
>Submit</button>
|
|
</div>
|
|
</form>
|
|
(% endblock %)
|