vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 3326935aa4654343a316c6e80bfec2ff09238f1c
parent 91ae28f2ffdf190f485172e31e7ed46938791aef
Author: Zack Newman <zack@philomathiclife.com>
Date:   Fri, 15 Dec 2023 14:53:28 -0700

fix user::set_client_kdf_iter

Diffstat:
Msrc/db/models/user.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/db/models/user.rs b/src/db/models/user.rs @@ -140,7 +140,7 @@ impl User { u32::try_from(self.client_kdf_iter).expect("underflow") } pub fn set_client_kdf_iter(&mut self, iter: u32) { - self.password_iterations = i32::try_from(iter).expect("overflow"); + self.client_kdf_iter = i32::try_from(iter).expect("overflow"); } pub fn client_kdf_memory(&self) -> Option<u32> { self.client_kdf_memory