change default value of dashboard_user and dashboard_pwd to empty string (#2383)

This commit is contained in:
fatedier
2021-05-10 23:04:26 +08:00
committed by GitHub
parent 2408f1df04
commit 0d84da91d4
4 changed files with 12 additions and 12 deletions

View File

@@ -68,10 +68,10 @@ type ClientCommonConf struct {
// is 0.
AdminPort int `ini:"admin_port" json:"admin_port"`
// AdminUser specifies the username that the admin server will use for
// login. By default, this value is "admin".
// login.
AdminUser string `ini:"admin_user" json:"admin_user"`
// AdminPwd specifies the password that the admin server will use for
// login. By default, this value is "admin".
// login.
AdminPwd string `ini:"admin_pwd" json:"admin_pwd"`
// AssetsDir specifies the local directory that the admin server will load
// resources from. If this value is "", assets will be loaded from the