Skip to content

Commit

Permalink
admin user not convert in INI (#3719)
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier authored Oct 24, 2023
1 parent 496b1f1 commit 806b55c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### Fixes

* Encryption and compression are not displayed correctly in the dashboard.
* `admin_user` is not effective in the INI configuration.
1 change: 1 addition & 0 deletions pkg/config/legacy/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 806b55c

Please sign in to comment.