Repository: fatedier/frp (language: go)

Issue:
0.52.2的frpc认证始终无法成功
### Bug Description

curl -u admin:admin http://127.0.0.1:9002/static/

0.52.2一直失败
换成 0.51.3之后,配置无修改,可以认证成功

### frpc Version

0.52.2

### frps Version

不涉及服务端

### System Architecture

linux/armv7

### Configurations

admin_addr = 127.0.0.1
admin_port = 9002
admin_user = admin
admin_pwd = admin


### Logs

_No response_

### Steps to reproduce

1. 
2. 
3. 
...


### Affected area

- [ ] Docs
- [ ] Installation
- [ ] Performance and Scalability
- [ ] Security
- [ ] User Experience
- [ ] Test and Release
- [ ] Developer Infrastructure
- [ ] Client Plugin
- [ ] Server Plugin
- [ ] Extensions
- [ ] Others


Discussion / hints:

Fix patch:
diff --git a/Release.md b/Release.md
index 61ea1f44ec3..1660f1e19e2 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 7a550947b64..0892e4f26f7 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


Test patch: