Revision #3 was created by Néstor Acevedo on Sep 16, 2021, 1:13:45 AM.
I added the method findByUsername inside Identity model, and I changed inside the method getUser from LoginForm, the static function to use Identity::findByUsername according with the common LoginForm model.
Content
[...]
}
public function validatePassword($password)
{
return password_verify($password, $this->_passwordHash);
}