1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-28 20:15:32 +00:00

[Client] Use clearer wording for comment in GUIController

This commit is contained in:
David Cernat 2019-09-23 20:30:33 +03:00
parent 219f0cb88e
commit d4df2948dd

View file

@ -175,8 +175,8 @@ void mwmp::GUIController::onInputBoxDone(MWGui::WindowBase *parWindow)
LocalPlayer *localPlayer = Main::get().getLocalPlayer();
std::string textInput = mInputBox->getTextInput();
// Send SHA256 hash of input for password dialogs after it's been hashed and rehashed,
// for some slight extra security that doesn't require the client to keep storing a salt
// Send input for password dialogs after it's been hashed and rehashed, for some slight
// extra security that doesn't require the client to keep storing a salt
if (localPlayer->guiMessageBox.type == BasePlayer::GUIMessageBox::PasswordDialog)
{
textInput = picosha2::hash256_hex_string(textInput);