diff --git a/Release.md b/Release.md index 61ea1f4..1660f1e 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 7a55094..0892e4f 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