From db5b055abd0105bd2d0b8bcf4714545f09acf20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garci=CC=81a?= Date: Tue, 9 Apr 2024 11:47:49 +0200 Subject: [PATCH] Actually return the value --- crates/bitwarden-wasm/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bitwarden-wasm/src/client.rs b/crates/bitwarden-wasm/src/client.rs index 6bf45cb30..bca8c2383 100644 --- a/crates/bitwarden-wasm/src/client.rs +++ b/crates/bitwarden-wasm/src/client.rs @@ -77,5 +77,5 @@ pub fn argon2( let mut hash = [0u8; 32]; argon.hash_password_into(password, salt, &mut hash)?; - Ok(Vec::new()) + Ok(hash.to_vec()) }