调整设备数限制实现方式

This commit is contained in:
wyx2685
2024-08-30 06:48:41 +09:00
parent 130e94cf45
commit 173c48a76f
6 changed files with 75 additions and 74 deletions

View File

@@ -38,6 +38,8 @@ func buildSSUser(tag string, userInfo *panel.UserInfo, cypher string, serverKey
keyLength = 16
case "2022-blake3-aes-256-gcm":
keyLength = 32
case "2022-blake3-chacha20-poly1305":
keyLength = 32
}
ssAccount := &shadowsocks_2022.User{
Level: 0,