mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-25 09:46:47 +02:00
include key into user.set_password
This commit is contained in:
1 parent
2d8c8e18f7
commit
cc91ac6cc0
4 files changed
+21
-12
No files matched your search
+1
-1
@@ -153,7 +153,7 @@ async fn _password_login(
|
||||
// Change the KDF Iterations
|
||||
if user.password_iterations != CONFIG.password_iterations() {
|
||||
user.password_iterations = CONFIG.password_iterations();
|
||||
user.set_password(password, false, None);
|
||||
user.set_password(password, None, false, None);
|
||||
|
||||
if let Err(e) = user.save(conn).await {
|
||||
error!("Error updating user: {:#?}", e);
|
||||
|
||||
Reference in new issue
Block a user