Don't forget about anonymous users

pull/25/head
Ryan Kistner 8 years ago
parent 17d5f7357d
commit dceed3a9a1

@ -340,7 +340,7 @@ namespace DepotDownloader
Username = username,
Password = password,
ShouldRememberPassword = Config.RememberPassword,
LoginKey = ConfigStore.TheConfig.LoginKeys.ContainsKey(username) ? ConfigStore.TheConfig.LoginKeys[username] : null,
LoginKey = username != null && ConfigStore.TheConfig.LoginKeys.ContainsKey(username) ? ConfigStore.TheConfig.LoginKeys[username] : null,
}
);

Loading…
Cancel
Save