Totp input changes (#3115)

This commit is contained in:
George Wu 2024-10-16 23:45:13 -07:00 committed by GitHub
parent 8c8f72381f
commit 9836b2bf12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ use webauthn_rs_proto::RequestChallengeResponse;
/// Authentication to Kanidm is a stepped process. /// Authentication to Kanidm is a stepped process.
/// ///
/// The session is fist initialised with the requested username. /// The session is first initialised with the requested username.
/// ///
/// In response the list of supported authentication mechanisms is provided. /// In response the list of supported authentication mechanisms is provided.
/// ///

View file

@ -28,7 +28,7 @@
class="input-hidden" class="input-hidden"
id="totp" id="totp"
name="totp" name="totp"
type="text" type="number"
autocomplete="one-time-code" autocomplete="one-time-code"
value="" value=""
/> />

View file

@ -15,7 +15,7 @@
class="autofocus form-control" class="autofocus form-control"
id="totp" id="totp"
name="totp" name="totp"
type="text" type="number"
autocomplete="one-time-code" autocomplete="one-time-code"
value="(( totp ))" value="(( totp ))"
required=true required=true

View file

@ -490,7 +490,7 @@ impl LoginApp {
disabled={ state==&TotpState::Disabled } disabled={ state==&TotpState::Disabled }
id="totp" id="totp"
name="totp" name="totp"
type="text" type="number"
autocomplete="off" autocomplete="off"
value="" value=""
/> />