mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-07-29 13:44:31 +00:00
feat: add support for v2raysocks
This commit is contained in:
@@ -346,7 +346,7 @@ func (c *Controller) addNewUser(userInfo *[]api.UserInfo, nodeInfo *api.NodeInfo
|
||||
users = c.buildVlessUser(userInfo)
|
||||
} else {
|
||||
var alterID uint16 = 0
|
||||
if c.panelType == "V2board" && len(*userInfo) > 0 {
|
||||
if (c.panelType == "V2board" || c.panelType == "V2RaySocks") && len(*userInfo) > 0 {
|
||||
// use latest userInfo
|
||||
alterID = (*userInfo)[0].AlterID
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user