🐤 Sync 2026-08-20 23:56:12

This commit is contained in:
github-actions[bot] committed 2026-08-20 23:56:12 +08:00
1 parent 289ca3521f
commit 08b3c36d51
10 files changed
+66 -20

No files matched your search

@@ -778,7 +778,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
@@ -801,10 +801,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