public function verifyPassword($name, $pass)
    {
        $this->find("name", $name);
        return password_verify($pass, $this->pass);
    }
public function verifyPassword($name, $pass)
    {
        $this->find("name", $name);
        return password_verify($pass, $this->pass);
    }
public function verifyPassword ( $ name , $ pass ) { $ this -> find ( "name" , $ name ) ; return password_verify ( $ pass , $ this -> pass ) ; }
Verify the name and the pass, if successful the object contains
all details from the database row.

@param string $name  name to check.
@param string $pass the pass to use.

@return boolean true if name and pass matches, else false.
Verify the name and the pass if successful the object contains all details from the database row .