mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-09 17:52:14 +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
|
s
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: No unwrap for spawn_blocking
|
|
||||||
pub async fn hash_password(
|
pub async fn hash_password(
|
||||||
password_plain_text: String,
|
password_plain_text: String,
|
||||||
) -> Result<String, Box<dyn std::error::Error>> {
|
) -> Result<String, Box<dyn std::error::Error>> {
|
||||||
|
|
@ -47,7 +46,6 @@ pub async fn hash_password(
|
||||||
return Ok(hash_string);
|
return Ok(hash_string);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: No unwrap for spawn_blocking
|
|
||||||
pub async fn verify_password<'a>(
|
pub async fn verify_password<'a>(
|
||||||
password_plaint_text: String,
|
password_plaint_text: String,
|
||||||
hash: String,
|
hash: String,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue