mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-09 13:26:41 +02:00
fix: made hashing error a bit more descriptive
This commit is contained in:
parent
1e31761335
commit
6fcac572d2
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ pub async fn login_route(body: Ruma<login::v3::Request>) -> Result<login::v3::Re
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
let Ok(parsed_hash) = PasswordHash::new(&hash) else {
|
let Ok(parsed_hash) = PasswordHash::new(&hash) else {
|
||||||
error!("error while hashing");
|
error!("error while hashing user {}", user_id);
|
||||||
return Err(Error::BadServerResponse("could not hash"));
|
return Err(Error::BadServerResponse("could not hash"));
|
||||||
};
|
};
|
||||||
let hash_matches = services()
|
let hash_matches = services()
|
||||||
|
|
Loading…
Add table
Reference in a new issue