mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-26 07:29:09 -04:00
rename server spec user
This commit is contained in:
@@ -58,7 +58,7 @@ func (this *ClientConfig) UnmarshalJSON(data []byte) error {
|
||||
return err
|
||||
}
|
||||
user.Account = anyAccount
|
||||
server.Users = append(server.Users, user)
|
||||
server.User = append(server.User, user)
|
||||
}
|
||||
this.Server[idx] = server
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ func (this *Config) UnmarshalJSON(data []byte) error {
|
||||
return common.ErrBadConfiguration
|
||||
}
|
||||
user.Account = anyAccount
|
||||
spec.Users = append(spec.Users, user)
|
||||
spec.User = append(spec.User, user)
|
||||
}
|
||||
serverSpecs[idx] = spec
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user