fix: invalid-credentials code, no refresh on wrong pw
This commit is contained in:
@@ -30,7 +30,7 @@ pub async fn execute(
|
||||
.verify(password, actor_user.password_hash())
|
||||
.await?
|
||||
{
|
||||
return Err(DomainError::Unauthorized("incorrect password".into()));
|
||||
return Err(DomainError::InvalidCredentials("incorrect password".into()));
|
||||
}
|
||||
|
||||
let target_user = if is_self {
|
||||
|
||||
Reference in New Issue
Block a user