mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
If no login method is defined default to api
This commit is contained in:
parent
5c9488fc13
commit
a066e99bad
2
main.cpp
2
main.cpp
@ -423,6 +423,8 @@ int main(int argc, char *argv[])
|
||||
int iLoginResult = 0;
|
||||
if (config.bLoginAPI || config.bLoginHTTP || initResult == 1)
|
||||
{
|
||||
if (!config.bLoginAPI && !config.bLoginHTTP)
|
||||
downloader.config.bLoginAPI = true;
|
||||
iLoginResult = downloader.login();
|
||||
if (iLoginResult == 0)
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user