mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 05:13:36 +08:00
Add OS and arch in auth request #4933
This commit is contained in:
@@ -157,6 +157,8 @@ ToolApp::loginAuth()
|
||||
ss << JSON_URL << "auth/";
|
||||
ss << "?email=" << ARCH->internet().urlEncode(email);
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user