Update src/data/totp_key.rs
This commit is contained in:
parent
af61b32a02
commit
b1d6a3894b
@ -9,7 +9,7 @@ use crate::data::user::User;
|
|||||||
use crate::utils::err::Res;
|
use crate::utils::err::Res;
|
||||||
use crate::utils::time::time;
|
use crate::utils::time::time;
|
||||||
|
|
||||||
const BASE32_ALPHABET: Alphabet = Alphabet::RFC4648 { padding: true };
|
const BASE32_ALPHABET: Alphabet = Alphabet::Rfc4648 { padding: true };
|
||||||
const NUM_DIGITS: usize = 6;
|
const NUM_DIGITS: usize = 6;
|
||||||
const PERIOD: u64 = 30;
|
const PERIOD: u64 = 30;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user