From 4831b8b68fcc9403a209708414df5bf5f2b194c8 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 6 Jun 2023 16:35:20 -0400 Subject: [PATCH] refactor: need to add renterd-api-password config arg --- config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.go b/config/config.go index 6321265..ae06e30 100644 --- a/config/config.go +++ b/config/config.go @@ -23,6 +23,7 @@ func Init() { pflag.String("database.password", "", "Database password") pflag.String("database.name", "lumeweb_portal", "Database name") pflag.String("database.path", "./db.sqlite", "Database path for SQLite") + pflag.String("renterd-api-password", ".", "admin password for renterd") pflag.Parse() err := viper.BindPFlags(pflag.CommandLine)