Send username with alternate update server request
This commit is contained in:
parent
cae8c9e095
commit
93d6816740
@ -181,6 +181,10 @@ void Client::Initialise(std::string proxyString)
|
|||||||
// use an alternate update server
|
// use an alternate update server
|
||||||
alternateVersionCheckRequest = http_async_req_start(NULL, "http://" UPDATESERVER "/Startup.json", NULL, 0, 0);
|
alternateVersionCheckRequest = http_async_req_start(NULL, "http://" UPDATESERVER "/Startup.json", NULL, 0, 0);
|
||||||
usingAltUpdateServer = true;
|
usingAltUpdateServer = true;
|
||||||
|
if (authUser.ID)
|
||||||
|
{
|
||||||
|
http_auth_headers(alternateVersionCheckRequest, authUser.Username.c_str(), NULL, NULL);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user