oi.
iologindata.cpp
vá até
uint64_t IOLoginData::createAccount(std::string name, std::string password)
procure por
password = salt + password;
mude para
password = password;
logo abaixo
query << "INSERT INTO `accounts` (`id`, `name`, `password`, `salt`) VALUES (NULL, " << db->escapeString(name) << ", " << db->escapeString(password) << ", " << db->escapeString(salt) << ")";
substitua
query << "INSERT INTO `accounts` (`id`, `name`, `password`) VALUES (NULL, " << db->escapeString(name) << ", " << db->escapeString(password) << ")";
vá até
bool IOLoginData::setPassword(uint32_t accountId, std::string newPassword)
procure por
newPassword = salt + newPassword;
substitua por
newPassword = newPassword;
abaixo disso
query << "UPDATE `accounts` SET `password` = " << db->escapeString(newPassword) << ", `salt` = "<< db->escapeString(salt) << " WHERE `id` = " << accountId << db->getUpdateLimiter();
substitua por isso
query << "UPDATE `accounts` SET `password` = " << db->escapeString(newPassword) << " WHERE `id` = " << accountId << db->getUpdateLimiter();
tchau