Updated client kdf iterations to 100000 and fixed some lints

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

No files matched your search

+1 -1
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();