From 7d05eea87d61a7e7c47e7117756688f6fcd08c9e Mon Sep 17 00:00:00 2001 From: Lienol Date: Mon, 2 Mar 2020 23:28:34 +0800 Subject: [PATCH] luci-app-v2ray-server: fix socks verify (#3485) --- .../luasrc/model/cbi/v2ray_server/api/genv2rayconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/lean/luci-app-v2ray-server/luasrc/model/cbi/v2ray_server/api/genv2rayconfig.lua b/package/lean/luci-app-v2ray-server/luasrc/model/cbi/v2ray_server/api/genv2rayconfig.lua index c61607304..d7b2fa0e1 100644 --- a/package/lean/luci-app-v2ray-server/luasrc/model/cbi/v2ray_server/api/genv2rayconfig.lua +++ b/package/lean/luci-app-v2ray-server/luasrc/model/cbi/v2ray_server/api/genv2rayconfig.lua @@ -21,7 +21,7 @@ if server.protocol == "vmess" then elseif server.protocol == "socks" then settings = { auth = (server.socks_username == nil and server.socks_password == nil) and - "password" or "noauth", + "noauth" or "password", accounts = { { user = (server.socks_username == nil) and "" or