original_string: private function savePasswordResetInfo($login, $newPassword, $keySuffix)
      {
          $optionName = $this->getPasswordResetInfoOptionName($login);
          $optionData = [
              'hash' => $this->passwordHelper->hash(UsersManager::getPasswordHash($newPassword)),
              'keySuffix' => $keySuffix,
          ];
          $optionData = json_encode($optionData);
  
          Option::set($optionName, $optionData);
      }
code: private function savePasswordResetInfo($login, $newPassword, $keySuffix)
      {
          $optionName = $this->getPasswordResetInfoOptionName($login);
          $optionData = [
              'hash' => $this->passwordHelper->hash(UsersManager::getPasswordHash($newPassword)),
              'keySuffix' => $keySuffix,
          ];
          $optionData = json_encode($optionData);
  
          Option::set($optionName, $optionData);
      }
code_tokens: private function savePasswordResetInfo ( $ login , $ newPassword , $ keySuffix ) { $ optionName = $ this -> getPasswordResetInfoOptionName ( $ login ) ; $ optionData = [ 'hash' => $ this -> passwordHelper -> hash ( UsersManager :: getPasswordHash ( $ newPassword ) ) , 'keySuffix' => $ keySuffix , ] ; $ optionData = json_encode ( $ optionData ) ; Option :: set ( $ optionName , $ optionData ) ; }
docstring: Stores password reset info for a specific login.
  
  @param string $login The user login for whom a password change was requested.
  @param string $newPassword The new password to set.
  @param string $keySuffix The suffix used in generating a token.
docstring_tokens: Stores password reset info for a specific login .