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)