From 8daaf0daa2d19ef9242ee44ed8036d15033deef4 Mon Sep 17 00:00:00 2001 From: Ryan Kistner Date: Thu, 27 Jul 2017 22:55:32 -0600 Subject: [PATCH] Don't error out if a user supplies a password without -remember-me but a matching login key was found --- DepotDownloader/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepotDownloader/Program.cs b/DepotDownloader/Program.cs index a5773690..7ff421c8 100644 --- a/DepotDownloader/Program.cs +++ b/DepotDownloader/Program.cs @@ -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();