mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-08 03:53:57 +00:00
Updated client kdf iterations to 100000 and fixed some lints
This commit is contained in:
parent
dda244edd8
commit
df8114f8be
7 changed files with 105 additions and 116 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue