mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-31 17:35:13 +08:00
update 2026-08-21 00:27:45
This commit is contained in:
1 parent
d0d547405b
commit
c3fcf72828
1963 files changed
+58
-1523015
No files matched your search
@@ -800,7 +800,7 @@ function gen_config_server(node)
|
||||
u.username = user.username
|
||||
u.password = user.password
|
||||
end
|
||||
if node.protocol == "shadowsocks" or node.protocol == "trojan" then
|
||||
if node.protocol == "shadowsocks" or node.protocol == "trojan" or node.protocol == "hysteria2" or node.protocol == "anytls" then
|
||||
u.name = user.username
|
||||
u.password = user.password
|
||||
end
|
||||
@@ -823,10 +823,6 @@ function gen_config_server(node)
|
||||
u.password = user.password
|
||||
u.uuid = user.uuid
|
||||
end
|
||||
if node.protocol == "hysteria2" then
|
||||
u.name = user.username
|
||||
u.password = user.password
|
||||
end
|
||||
if node.protocol == "wireguard" then
|
||||
u.public_key = user.wireguard_public_key
|
||||
u.pre_shared_key = user.wireguard_pre_shared_key
|
||||
|
||||
Reference in new issue
Block a user