#5617 Remove online check for plugins
This commit is contained in:
parent
5f5153f450
commit
c3889667ba
|
@ -174,19 +174,6 @@ ToolApp::loginAuth()
|
||||||
void
|
void
|
||||||
ToolApp::getPluginList()
|
ToolApp::getPluginList()
|
||||||
{
|
{
|
||||||
String credentials;
|
|
||||||
std::cin >> credentials;
|
|
||||||
|
|
||||||
size_t separator = credentials.find(':');
|
|
||||||
String email = credentials.substr(0, separator);
|
|
||||||
String password = credentials.substr(separator + 1, credentials.length());
|
|
||||||
|
|
||||||
std::stringstream ss;
|
|
||||||
ss << JSON_URL << "plugins/";
|
|
||||||
ss << "?email=" << ARCH->internet().urlEncode(email);
|
|
||||||
ss << "&password=" << password;
|
|
||||||
|
|
||||||
std::cout << ARCH->internet().get(ss.str()) << std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue