Add a message about missing -remember-password

This commit is contained in:
Pavel Djundik committed 2025-05-04 12:18:46 +03:00
1 parent c21489d304
commit 76038d83e8
1 file changed
+5
+5
View File
@@ -350,6 +350,11 @@ namespace DepotDownloader
{
if (username != null && password == null && (!ContentDownloader.Config.RememberPassword || !AccountSettingsStore.Instance.LoginTokens.ContainsKey(username)))
{
if (AccountSettingsStore.Instance.LoginTokens.ContainsKey(username))
{
Console.WriteLine($"Account \"{username}\" has stored credentials. Did you forget to specify -remember-password?");
}
do
{
Console.Write("Enter account password for \"{0}\": ", username);