luci-app-passwall2: sync upstream

last commit: da1ac4d39f
This commit is contained in:
gitea-action 2024-12-16 01:00:26 +08:00
parent 0028bd59e1
commit 9181a55d87

View File

@ -1083,7 +1083,7 @@ local api = require "luci.passwall2.api"
}
}
opt.set(dom_prefix + 'encryption', queryParam.encryption);
opt.set(dom_prefix + 'encryption', queryParam.encryption || "none");
if (queryParam.security) {
if (queryParam.security == "tls") {
opt.set(dom_prefix + 'tls', true);