From 3abf84e1633844f263c1fd857881471e25d99af9 Mon Sep 17 00:00:00 2001 From: EETagent Date: Fri, 28 Oct 2022 15:03:22 +0200 Subject: [PATCH] chore: remove todos for argon2 spawn_blocking error handling --- core/src/crypto.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/crypto.rs b/core/src/crypto.rs index f236fa5..3484592 100644 --- a/core/src/crypto.rs +++ b/core/src/crypto.rs @@ -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> { @@ -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,