update 2026-08-13 20:57:15

This commit is contained in:
action committed 2026-08-13 20:57:15 +08:00
1 parent 90a7fd0798
commit 172837898d
20 files changed
+352 -265

No files matched your search

@@ -123,8 +123,12 @@ local function start()
if type == "Socks" then
local auth = ""
if server.auth and server.auth == "1" then
local username = server.username or ""
local password = server.password or ""
local user = nil
if server.user then
user = uci:get_all("passwall_server", server.user)
end
local username = user and user.username or ""
local password = user and user.password or ""
if username ~= "" and password ~= "" then
username = "-u " .. username
password = "-P " .. password