admin/index.html: Display config as yaml
This commit is contained in:
parent
2edd0f2fe2
commit
eec8b89e06
3 changed files with 41 additions and 209 deletions
|
|
@ -4,7 +4,7 @@ type DatabaseConfig struct {
|
|||
// Credentials for the admin user.
|
||||
// Is automatically created if it does not exist.
|
||||
AdminUsername string `yaml:"username" default:"admin" validate:"nonempty"`
|
||||
AdminPassword string `yaml:"password" validate:"nonempty"`
|
||||
AdminPassword string `yaml:"password" validate:"nonempty" sensitive:"****"`
|
||||
|
||||
// Prefix for new users and data setss
|
||||
UserPrefix string `yaml:"user_prefix" default:"wisski-distillery-" validate:"slug"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue