chore: remove todos for argon2 spawn_blocking error handling

This commit is contained in:
EETagent 2022-10-28 15:03:22 +02:00
parent 9fd161b0e8
commit 3abf84e163

View file

@ -27,7 +27,6 @@ pub fn random_8_char_string() -> String {
s
}
// TODO: No unwrap for spawn_blocking
pub async fn hash_password(
password_plain_text: String,
) -> Result<String, Box<dyn std::error::Error>> {
@ -47,7 +46,6 @@ pub async fn hash_password(
return Ok(hash_string);
}
// TODO: No unwrap for spawn_blocking
pub async fn verify_password<'a>(
password_plaint_text: String,
hash: String,