1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-08-18 08:45:24 +00:00

Implemented key rotation with the latest vault

This commit is contained in:
Daniel García 2018-11-24 23:00:41 +01:00
commit f71f10eac6
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
4 changed files with 100 additions and 27 deletions

View file

@ -97,7 +97,6 @@ impl User {
self.password_hash = crypto::hash_password(password.as_bytes(),
&self.salt,
self.password_iterations as u32);
self.reset_security_stamp();
}
pub fn reset_security_stamp(&mut self) {