mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +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" %)
|
(% extends "login_base.html" %)
|
||||||
|
|
||||||
(% block logincontainer %)
|
(% block logincontainer %)
|
||||||
<label for="totp" class="form-label">TOTP</label>
|
<label for="totp" class="form-label">Two-factor authentication code</label>
|
||||||
(% match errors %)
|
(% match errors %)
|
||||||
(% when LoginTotpError::Syntax %)
|
(% when LoginTotpError::Syntax %)
|
||||||
<span class="error">Invalid Value</span>
|
<div class="alert alert-danger" role="alert">
|
||||||
<span class="error">TOTP must only consist of numbers</span>
|
<p>Invalid Value</p>
|
||||||
|
<p>Code must only consist of numbers, please try again.</p>
|
||||||
|
</div>
|
||||||
(% when LoginTotpError::None %)
|
(% when LoginTotpError::None %)
|
||||||
(% endmatch %)
|
(% endmatch %)
|
||||||
<form id="login" action="/ui/login/totp" method="post">
|
<form id="login" action="/ui/login/totp" method="post">
|
||||||
|
|
Loading…
Reference in a new issue