Send username with alternate update server request

This commit is contained in:
jacob1 2015-09-26 16:50:02 -04:00
parent cae8c9e095
commit 93d6816740

View File

@ -181,6 +181,10 @@ void Client::Initialise(std::string proxyString)
// use an alternate update server
alternateVersionCheckRequest = http_async_req_start(NULL, "http://" UPDATESERVER "/Startup.json", NULL, 0, 0);
usingAltUpdateServer = true;
if (authUser.ID)
{
http_auth_headers(alternateVersionCheckRequest, authUser.Username.c_str(), NULL, NULL);
}
#endif
}