protected function validateUserForgot()
    {
        $this->setSubmitted('user', null, false);
        $this->filterSubmitted(array('email', 'password'));

        $this->setSubmitted('user', $this->data_user);
        $this->validateComponent('user_reset_password');

        return !$this->hasErrors();
    }
protected function validateUserForgot()
    {
        $this->setSubmitted('user', null, false);
        $this->filterSubmitted(array('email', 'password'));

        $this->setSubmitted('user', $this->data_user);
        $this->validateComponent('user_reset_password');

        return !$this->hasErrors();
    }
protected function validateUserForgot ( ) { $ this -> setSubmitted ( 'user' , null , false ) ; $ this -> filterSubmitted ( array ( 'email' , 'password' ) ) ; $ this -> setSubmitted ( 'user' , $ this -> data_user ) ; $ this -> validateComponent ( 'user_reset_password' ) ; return ! $ this -> hasErrors ( ) ; }
Validates a submitted data when a user wants to reset its password
@return boolean
Validates a submitted data when a user wants to reset its password