Send session/auth info with update checks
This commit is contained in:
parent
789049b269
commit
59a134d5f1
@ -1755,6 +1755,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
http_ver_check = http_async_req_start(NULL, "http://" SERVER "/Update.api?Action=CheckVersion", NULL, 0, 0);
|
http_ver_check = http_async_req_start(NULL, "http://" SERVER "/Update.api?Action=CheckVersion", NULL, 0, 0);
|
||||||
if (svf_login) {
|
if (svf_login) {
|
||||||
|
http_auth_headers(http_ver_check, svf_user_id, NULL, svf_session_id); //Add authentication so beta checking can be done from user basis
|
||||||
http_session_check = http_async_req_start(NULL, "http://" SERVER "/Login.api?Action=CheckSession", NULL, 0, 0);
|
http_session_check = http_async_req_start(NULL, "http://" SERVER "/Login.api?Action=CheckSession", NULL, 0, 0);
|
||||||
http_auth_headers(http_session_check, svf_user_id, NULL, svf_session_id);
|
http_auth_headers(http_session_check, svf_user_id, NULL, svf_session_id);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user