diff --git a/Release.md b/Release.md index 61ea1f44..1660f1e1 100644 --- a/Release.md +++ b/Release.md @@ -1,3 +1,3 @@ ### Fixes -* Encryption and compression are not displayed correctly in the dashboard. +* `admin_user` is not effective in the INI configuration. diff --git a/pkg/config/legacy/conversion.go b/pkg/config/legacy/conversion.go index 7a550947..0892e4f2 100644 --- a/pkg/config/legacy/conversion.go +++ b/pkg/config/legacy/conversion.go @@ -71,6 +71,7 @@ func Convert_ClientCommonConf_To_v1(conf *ClientCommonConf) *v1.ClientCommonConf out.WebServer.Addr = conf.AdminAddr out.WebServer.Port = conf.AdminPort + out.WebServer.User = conf.AdminUser out.WebServer.Password = conf.AdminPwd out.WebServer.AssetsDir = conf.AssetsDir out.WebServer.PprofEnable = conf.PprofEnable