mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
Renaming "TOTP" in the login flow (#3338)
This commit is contained in:
parent
028bd93059
commit
ccf6792104
|
@ -1,11 +1,13 @@
|
|||
(% extends "login_base.html" %)
|
||||
|
||||
(% block logincontainer %)
|
||||
<label for="totp" class="form-label">TOTP</label>
|
||||
<label for="totp" class="form-label">Two-factor authentication code</label>
|
||||
(% match errors %)
|
||||
(% when LoginTotpError::Syntax %)
|
||||
<span class="error">Invalid Value</span>
|
||||
<span class="error">TOTP must only consist of numbers</span>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<p>Invalid Value</p>
|
||||
<p>Code must only consist of numbers, please try again.</p>
|
||||
</div>
|
||||
(% when LoginTotpError::None %)
|
||||
(% endmatch %)
|
||||
<form id="login" action="/ui/login/totp" method="post">
|
||||
|
|
Loading…
Reference in a new issue