original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Validates a submitted data when a user wants to reset its password
  @return boolean
docstring_tokens: Validates a submitted data when a user wants to reset its password