mirror of
https://github.com/kanidm/kanidm.git
synced 2025-05-25 02:13:55 +02:00
* progress * Okay, main swap works and can login with pw+totp * Feedback * bypassing docs tests temporarily
31 lines
679 B
HTML
31 lines
679 B
HTML
|
|
|
|
<label for="totp" class="form-label">TOTP</label>
|
|
(% match errors %)
|
|
(% when LoginTotpError::Syntax %)
|
|
<span class="error">Invalid Value - TOTP must only consist of numbers</span>
|
|
(% when LoginTotpError::None %)
|
|
(% endmatch %)
|
|
<form id="login" hx-post='/ui/api/login_totp' hx-target="#login-form-container" hx-push-url="false">
|
|
<div class="input-group mb-3">
|
|
<input
|
|
autofocus=true
|
|
class="autofocus form-control"
|
|
id="totp"
|
|
name="totp"
|
|
type="text"
|
|
autocomplete="off"
|
|
value=""
|
|
required=true
|
|
/>
|
|
</div>
|
|
<div class="input-group mb-3 justify-content-md-center">
|
|
<button
|
|
type="submit"
|
|
class="btn btn-dark"
|
|
>Begin</button>
|
|
</div>
|
|
</form>
|
|
|
|
|