Ejemplo n.º 1
0
 public function checkCredentials($username, $password)
 {
     $user = $this->userRepository->findByUser($username);
     if ($user === false) {
         return false;
     }
     return $this->hash->CheckAPIpassword($password, $username);
 }