mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-15 16:15:29 +08:00
luci-app-v2ray-server: fix socks verify (#3485)
This commit is contained in:
parent
2cef70802e
commit
7d05eea87d
@ -21,7 +21,7 @@ if server.protocol == "vmess" then
|
|||||||
elseif server.protocol == "socks" then
|
elseif server.protocol == "socks" then
|
||||||
settings = {
|
settings = {
|
||||||
auth = (server.socks_username == nil and server.socks_password == nil) and
|
auth = (server.socks_username == nil and server.socks_password == nil) and
|
||||||
"password" or "noauth",
|
"noauth" or "password",
|
||||||
accounts = {
|
accounts = {
|
||||||
{
|
{
|
||||||
user = (server.socks_username == nil) and "" or
|
user = (server.socks_username == nil) and "" or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user