prevent the insanity of specifying (usually) defaults

This commit is contained in:
DarthArgus
2016-08-06 02:00:49 +00:00
parent a9fa196e5f
commit 00fef810e7
3 changed files with 5 additions and 4 deletions
@@ -182,7 +182,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string
std::ostringstream postBuf;
postBuf << "user_name=" << id << "&user_password=" << key << "&ip=" << getRemoteAddress();
const webAPI::statusMessage response = webAPI::simplePost(authURL, std::string(postBuf.str()), "username", "message", "status", "success");
const webAPI::statusMessage response = webAPI::simplePost(authURL, std::string(postBuf.str()), "username");
if (response.status && !response.message.empty())
{
@@ -215,6 +215,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string
}
LOG("LoginClientConnection", ("validateClient() for stationId (%lu) at IP (%s), id (%s)", m_stationId, getRemoteAddress().c_str(), uname.c_str()));
LoginServer::getInstance().onValidateClient(suid, uname, this, true, NULL, 0xFFFFFFFF, 0xFFFFFFFF);
}
// else this case will never be reached, noop