mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
feat: add option to auto-create admin user on first start-up
Useful for development purposes
This commit is contained in:
parent
10ead1f5f2
commit
2c146ea1fe
3 changed files with 45 additions and 2 deletions
|
@ -29,8 +29,9 @@ type nd struct {
|
|||
ScanInterval string `default:"1m"`
|
||||
|
||||
// DevFlags. These are used to enable/disable debugging and incomplete features
|
||||
DevDisableBanner bool `default:"false"`
|
||||
DevLogSourceLine bool `default:"false"`
|
||||
DevDisableBanner bool `default:"false"`
|
||||
DevLogSourceLine bool `default:"false"`
|
||||
DevAutoCreateAdminPassword string `default:""`
|
||||
}
|
||||
|
||||
var Server = &nd{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue