WebService: Verify username and token (#2930)
* WebService: Verify username and token; Log errors in PostJson * Fixup: added docstrings to the functions * Webservice: Added Icons to the verification, imrpved error detection in cpr, fixup nits * fixup: fmt warning
This commit is contained in:
parent
255fd8768d
commit
28c726f205
18 changed files with 322 additions and 38 deletions
|
@ -162,6 +162,8 @@ void Config::ReadValues() {
|
|||
sdl2_config->GetBoolean("WebService", "enable_telemetry", true);
|
||||
Settings::values.telemetry_endpoint_url = sdl2_config->Get(
|
||||
"WebService", "telemetry_endpoint_url", "https://services.citra-emu.org/api/telemetry");
|
||||
Settings::values.verify_endpoint_url = sdl2_config->Get(
|
||||
"WebService", "verify_endpoint_url", "https://services.citra-emu.org/api/profile");
|
||||
Settings::values.citra_username = sdl2_config->Get("WebService", "citra_username", "");
|
||||
Settings::values.citra_token = sdl2_config->Get("WebService", "citra_token", "");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue