diff --git a/DepotDownloader/Program.cs b/DepotDownloader/Program.cs index b6de42a0..802c68f5 100644 --- a/DepotDownloader/Program.cs +++ b/DepotDownloader/Program.cs @@ -358,6 +358,14 @@ namespace DepotDownloader } } + + if (password != null && password.Length > 64) + { + Console.WriteLine("Notice: password is longer than 64 characters and will be trimmed."); + password = password.Substring(0, 64); + } + + return ContentDownloader.InitializeSteam3(username, password); }