Browse Source

Fix zero users bug

V2Ray 10 năm trước cách đây
mục cha
commit
a81327c5b9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      proxy/vmess/config/json/outbound.go

+ 1 - 0
proxy/vmess/config/json/outbound.go

@@ -35,6 +35,7 @@ func (t *ConfigTarget) UnmarshalJSON(data []byte) error {
 	if err := json.Unmarshal(data, &rawConfig); err != nil {
 		return err
 	}
+	t.Users = rawConfig.Users
 	ip := net.ParseIP(rawConfig.Address)
 	if ip == nil {
 		log.Error("Unable to parse IP: %s", rawConfig.Address)