src/Service/MelisCoreLostPasswordService.php
public function hashExists($hash) 
    {
        $data = $this->getPasswordRequestData($hash);
        $h = '';
        foreach($data as $val) 
        {
            $h = $val->rh_login;
            //echo $h;
        }
        
        if(!empty($h)) {
            return true;
        }

        return false;   
    }
public function hashExists($hash) 
    {
        $data = $this->getPasswordRequestData($hash);
        $h = '';
        foreach($data as $val) 
        {
            $h = $val->rh_login;
            //echo $h;
        }
        
        if(!empty($h)) {
            return true;
        }

        return false;   
    }
public function hashExists ( $ hash ) { $ data = $ this -> getPasswordRequestData ( $ hash ) ; $ h = '' ; foreach ( $ data as $ val ) { $ h = $ val -> rh_login ; //echo $h; } if ( ! empty ( $ h ) ) { return true ; } return false ; }
Check if the provided hash exists
@param String $hash
@return boolean
Check if the provided hash exists