added config option for password

This commit is contained in:
2021-10-05 19:45:57 +02:00
parent 618a23627d
commit 1e9c653c7d
4 changed files with 7 additions and 4 deletions

View File

@@ -395,7 +395,7 @@ func main() {
rL = ratelimit.New(conf.Steam.RatePerSecond)
// setup GC
err = demoLoader.Setup(conf.Steam.Username, *authCodeFlag)
err = demoLoader.Setup(conf.Steam.Username, *authCodeFlag, conf.Steam.Password)
if err != nil {
log.Fatalf("Unbale to setup DemoLoader: %v", err)
}