diff --git a/server/lib/src/credential/totp.rs b/server/lib/src/credential/totp.rs index f30491898..7f0cc90b7 100644 --- a/server/lib/src/credential/totp.rs +++ b/server/lib/src/credential/totp.rs @@ -34,7 +34,7 @@ impl TryFrom for TotpDigits { fn try_from(value: u8) -> Result { match value { 6 => Ok(TotpDigits::Six), - 8 => Ok(TotpDigits::Six), + 8 => Ok(TotpDigits::Eight), _ => Err(()), } }