mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
fix(TotpDigits): fix typo in TryFrom impl (#2702)
This commit is contained in:
parent
2ef84d8606
commit
f252035254
|
@ -34,7 +34,7 @@ impl TryFrom<u8> for TotpDigits {
|
|||
fn try_from(value: u8) -> Result<Self, Self::Error> {
|
||||
match value {
|
||||
6 => Ok(TotpDigits::Six),
|
||||
8 => Ok(TotpDigits::Six),
|
||||
8 => Ok(TotpDigits::Eight),
|
||||
_ => Err(()),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue