mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2026-03-29 15:04:43 -04: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 {
|
||||
error!("error while hashing");
|
||||
error!("error while hashing user {}", user_id);
|
||||
return Err(Error::BadServerResponse("could not hash"));
|
||||
};
|
||||
let hash_matches = services()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue