Updated client kdf iterations to 100000 and fixed some lints

This commit is contained in:
Daniel García
2019-09-05 21:56:12 +02:00
parent dda244edd8
commit df8114f8be
7 changed files with 105 additions and 116 deletions

View File

@@ -46,7 +46,7 @@ enum UserStatus {
/// Local methods
impl User {
pub const CLIENT_KDF_TYPE_DEFAULT: i32 = 0; // PBKDF2: 0
pub const CLIENT_KDF_ITER_DEFAULT: i32 = 5_000;
pub const CLIENT_KDF_ITER_DEFAULT: i32 = 100_000;
pub fn new(mail: String) -> Self {
let now = Utc::now().naive_utc();