mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-20 01:46:17 +00:00
Don't error out if a user supplies a password without -remember-me but a matching login key was found
This commit is contained in:
1 parent
de775d5c4b
commit
8daaf0daa2
1 file changed
+1
-1
@@ -98,7 +98,7 @@ namespace DepotDownloader
|
||||
|
||||
ContentDownloader.Config.MaxServers = Math.Max( ContentDownloader.Config.MaxServers, ContentDownloader.Config.MaxDownloads );
|
||||
|
||||
if ( username != null && password == null && !ConfigStore.TheConfig.LoginKeys.ContainsKey( username ) )
|
||||
if ( username != null && password == null && ( !ContentDownloader.Config.RememberPassword || !ConfigStore.TheConfig.LoginKeys.ContainsKey( username ) ) )
|
||||
{
|
||||
Console.Write( "Enter account password for \"{0}\": ", username );
|
||||
password = Util.ReadPassword();
|
||||
|
||||
Reference in new issue
Block a user