luci-app-v2ray-server: fix socks verify (#3485)

This commit is contained in:
Lienol 2020-03-02 23:28:34 +08:00 committed by GitHub
parent 2cef70802e
commit 7d05eea87d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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