mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 08:11:24 +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
|
|
@ -87,7 +87,7 @@ impl Service {
|
|||
|
||||
// Check if password is correct
|
||||
if let Some(hash) = services().users.password_hash(&user_id)? {
|
||||
if !utils::verify_password_hash(hash, password) {
|
||||
if !utils::verify_password(hash, password) {
|
||||
uiaainfo.auth_error =
|
||||
Some(ruma::api::client::error::StandardErrorBody {
|
||||
kind: ErrorKind::forbidden(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue