original_string: protected function setUserForgot()
      {
          $token = $this->getQuery('key');
          $user_id = $this->getQuery('user_id');
  
          $this->data_user = array();
  
          if (!empty($token) && is_numeric($user_id)) {
              $this->data_user = $this->user->get($user_id);
              $this->controlTokenUserForgot($this->data_user, $token);
          }
      }
code: protected function setUserForgot()
      {
          $token = $this->getQuery('key');
          $user_id = $this->getQuery('user_id');
  
          $this->data_user = array();
  
          if (!empty($token) && is_numeric($user_id)) {
              $this->data_user = $this->user->get($user_id);
              $this->controlTokenUserForgot($this->data_user, $token);
          }
      }
code_tokens: protected function setUserForgot ( ) { $ token = $ this -> getQuery ( 'key' ) ; $ user_id = $ this -> getQuery ( 'user_id' ) ; $ this -> data_user = array ( ) ; if ( ! empty ( $ token ) && is_numeric ( $ user_id ) ) { $ this -> data_user = $ this -> user -> get ( $ user_id ) ; $ this -> controlTokenUserForgot ( $ this -> data_user , $ token ) ; } }
docstring: Returns a user from the current reset password URL
docstring_tokens: Returns a user from the current reset password URL