mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Merge branch 'patch-1' of https://github.com/skitt/lgogdownloader
This commit is contained in:
commit
8736e3dec8
@ -121,6 +121,10 @@ int Downloader::login()
|
||||
{
|
||||
char *pwd;
|
||||
std::string email;
|
||||
if (!isatty(STDIN_FILENO)) {
|
||||
std::cout << "Unable to read email and password" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
std::cout << "Email: ";
|
||||
std::getline(std::cin,email);
|
||||
pwd = getpass("Password: ");
|
||||
|
Loading…
Reference in New Issue
Block a user