mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
rename password-related utils functions
This commit is contained in:
parent
aa4cd8b1e1
commit
71f3d84115
5 changed files with 7 additions and 7 deletions
|
|
@ -113,7 +113,7 @@ pub(crate) async fn login_route(
|
|||
));
|
||||
}
|
||||
|
||||
if !utils::verify_password_hash(hash, password) {
|
||||
if !utils::verify_password(hash, password) {
|
||||
return Err(Error::BadRequest(
|
||||
ErrorKind::forbidden(),
|
||||
"Wrong username or password.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue