Fix logic bug on sign in
This commit is contained in:
@ -130,7 +130,7 @@ impl Handler<LoginRequest> for UsersActor {
|
||||
}
|
||||
Ok(None) => MessageResult(LoginResult::AccountNotFound),
|
||||
Ok(Some(user)) => {
|
||||
if self
|
||||
if !self
|
||||
.manager
|
||||
.verify_user_password(&user.uid, &msg.password)
|
||||
.unwrap_or(false)
|
||||
|
Reference in New Issue
Block a user