src/Service/MelisCoreLostPasswordService.php
public function isDataExists($login) 
    {
        $data = $this->getPassRequestDataByLogin($login);
        $login = '';
        foreach($data as $val)
        {
            $login = $val->rh_login;
        }
        
        if(!empty($login)) {
            return true;
        }
        
        return false;
    }
public function isDataExists($login) 
    {
        $data = $this->getPassRequestDataByLogin($login);
        $login = '';
        foreach($data as $val)
        {
            $login = $val->rh_login;
        }
        
        if(!empty($login)) {
            return true;
        }
        
        return false;
    }
public function isDataExists ( $ login ) { $ data = $ this -> getPassRequestDataByLogin ( $ login ) ; $ login = '' ; foreach ( $ data as $ val ) { $ login = $ val -> rh_login ; } if ( ! empty ( $ login ) ) { return true ; } return false ; }
Checks if the username exists in the lost password table
@param String $login
@return boolean
Checks if the username exists in the lost password table