Implemented key rotation with the latest vault

This commit is contained in:
Daniel García
2018-11-24 23:00:41 +01:00
parent f1acc1e05a
commit f71f10eac6
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) {