Exactly 64 is fine

This commit is contained in:
Pavel Djundik committed 2025-03-12 11:35:09 +02:00
1 parent 2682d44684
commit 2c07abb015
1 file changed
+1 -1
+1 -1
View File
@@ -360,7 +360,7 @@ namespace DepotDownloader
{
const int MAX_PASSWORD_SIZE = 64;
if (password.Length >= MAX_PASSWORD_SIZE)
if (password.Length > MAX_PASSWORD_SIZE)
{
Console.Error.WriteLine($"Warning: Password is longer than {MAX_PASSWORD_SIZE} characters, which is not supported by Steam.");
}