diff --git a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp index d0b99086..5b75436d 100755 --- a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp +++ b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp @@ -203,7 +203,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string if (curl) { std::string readBuffer; - std::string postData = "user_name=" + id + "&user_password=" + key + "&stationID=" + std::to_string(atoi(id.c_str())) + "&ip=" + getRemoteAddress(); + std::string postData = "user_name=" + id + "&user_password=" + key + "&stationID=" + m_stationId + "&ip=" + getRemoteAddress(); curl_easy_setopt(curl, CURLOPT_URL, authURL); curl_easy_setopt(curl, CURLOPT_POSTFIELDS, postData.c_str());