Add OS and arch in auth request #4933
This commit is contained in:
parent
32da441fc0
commit
4d20a3ce91
|
@ -157,6 +157,8 @@ ToolApp::loginAuth()
|
||||||
ss << JSON_URL << "auth/";
|
ss << JSON_URL << "auth/";
|
||||||
ss << "?email=" << ARCH->internet().urlEncode(email);
|
ss << "?email=" << ARCH->internet().urlEncode(email);
|
||||||
ss << "&password=" << password;
|
ss << "&password=" << password;
|
||||||
|
ss << "&os=" << ARCH->internet().urlEncode(ARCH->getOSName());
|
||||||
|
ss << "&arch=" << ARCH->internet().urlEncode(ARCH->getPlatformName());
|
||||||
|
|
||||||
std::cout << ARCH->internet().get(ss.str()) << std::endl;
|
std::cout << ARCH->internet().get(ss.str()) << std::endl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue