Skip to content

Commit

Permalink
Actually return the value
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Apr 9, 2024
1 parent 49f9978 commit db5b055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bitwarden-wasm/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Check warning on line 81 in crates/bitwarden-wasm/src/client.rs

View check run for this annotation

Codecov / codecov/patch

crates/bitwarden-wasm/src/client.rs#L78-L81

Added lines #L78 - L81 were not covered by tests

0 comments on commit db5b055

Please sign in to comment.