refactor: need to add renterd-api-password config arg

This commit is contained in:
Derrick Hammer 2023-06-06 16:35:20 -04:00
parent 38b76155af
commit 4831b8b68f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -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)