luci-app-passwall: sync upstream

last commit: 692406522c
This commit is contained in:
gitea-action 2025-01-11 22:00:19 +08:00
parent 152220f327
commit 8f5851d378
2 changed files with 10 additions and 2 deletions

View File

@ -27,16 +27,21 @@ o = s:option(Flag, "balancing_enable", translate("Enable Load Balancing"))
o.rmempty = false o.rmempty = false
o.default = false o.default = false
---- Console Login Auth
o = s:option(Flag, "console_auth", translate("Console Login Auth"))
o.default = false
o:depends("balancing_enable", true)
---- Console Username ---- Console Username
o = s:option(Value, "console_user", translate("Console Username")) o = s:option(Value, "console_user", translate("Console Username"))
o.default = "" o.default = ""
o:depends("balancing_enable", true) o:depends("console_auth", true)
---- Console Password ---- Console Password
o = s:option(Value, "console_password", translate("Console Password")) o = s:option(Value, "console_password", translate("Console Password"))
o.password = true o.password = true
o.default = "" o.default = ""
o:depends("balancing_enable", true) o:depends("console_auth", true)
---- Console Port ---- Console Port
o = s:option(Value, "console_port", translate("Console Port"), translate( o = s:option(Value, "console_port", translate("Console Port"), translate(

View File

@ -799,6 +799,9 @@ msgstr "使用 127.0.0.1 和此端口配置节点"
msgid "Enable Load Balancing" msgid "Enable Load Balancing"
msgstr "开启负载均衡" msgstr "开启负载均衡"
msgid "Console Login Auth"
msgstr "控制台登录认证"
msgid "Console Username" msgid "Console Username"
msgstr "控制台账号" msgstr "控制台账号"