mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-25 13:01:49 +00:00
chore: remove todos for argon2 spawn_blocking error handling
This commit is contained in:
parent
9fd161b0e8
commit
3abf84e163
1 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue