From 880304fd64ae4817dfa2125d345f81a7898dc984 Mon Sep 17 00:00:00 2001 From: xiaorouji <60100640+xiaorouji@users.noreply.github.com> Date: Tue, 25 Jul 2023 02:35:59 +0800 Subject: [PATCH] luci: tuic-client --- luci-app-passwall2/Makefile | 2 +- .../luasrc/model/cbi/passwall2/client/node_config.lua | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/luci-app-passwall2/Makefile b/luci-app-passwall2/Makefile index ee5e83c04..63fddcbe0 100644 --- a/luci-app-passwall2/Makefile +++ b/luci-app-passwall2/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall2 -PKG_VERSION:=1.17-1 +PKG_VERSION:=1.17-2 PKG_RELEASE:= PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/node_config.lua b/luci-app-passwall2/luasrc/model/cbi/passwall2/client/node_config.lua index b3a2b0338..435247a95 100644 --- a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/node_config.lua +++ b/luci-app-passwall2/luasrc/model/cbi/passwall2/client/node_config.lua @@ -899,6 +899,14 @@ hysteria_disable_mtu_discovery:depends("type", "Hysteria") hysteria_lazy_start = s:option(Flag, "hysteria_lazy_start", translate("Lazy Start")) hysteria_lazy_start:depends("type", "Hysteria") +-- [[ TUIC ]] +-- Tuic Password for remote server connect +tuic_passwd = s:option(Value, "tuic_password", translate("TUIC User Password For Connect Remote Server")) +tuic_passwd.password = true +tuic_passwd.rmempty = true +tuic_passwd.default = "" +tuic_passwd:depends("type", "TUIC") + --[[ -- Tuic username for local socks connect tuic_passwd = s:option(Value, "tuic_socks_username", translate("TUIC UserName For Local Socks"))