mirror of https://git.openwrt.org/project/luci.git
* luci/app/ddns: obfuscate password fields
This commit is contained in:
parent
38319cfaa5
commit
222fe69ac6
|
@ -31,7 +31,9 @@ svc:value("freedns.afraid.org")
|
|||
|
||||
s:option(Value, "domain", translate("hostname")).rmempty = true
|
||||
s:option(Value, "username", translate("username")).rmempty = true
|
||||
s:option(Value, "password", translate("password")).rmempty = true
|
||||
pw = s:option(Value, "password", translate("password"))
|
||||
pw.rmempty = true
|
||||
pw.password = true
|
||||
|
||||
src = s:option(ListValue, "ip_source")
|
||||
src:value("network", translate("network"))
|
||||
|
@ -69,4 +71,4 @@ unit:value("minutes", "min")
|
|||
unit:value("hours", "h")
|
||||
|
||||
|
||||
return m
|
||||
return m
|
||||
|
|
|
@ -29,7 +29,9 @@ svc:value("freedns.afraid.org")
|
|||
|
||||
s:option(Value, "domain", translate("hostname")).rmempty = true
|
||||
s:option(Value, "username", translate("username")).rmempty = true
|
||||
s:option(Value, "password", translate("password")).rmempty = true
|
||||
pw = s:option(Value, "password", translate("password"))
|
||||
pw.rmempty = true
|
||||
pw.password = true
|
||||
|
||||
s.defaults.ip_source = "network"
|
||||
s.defaults.ip_network = "wan"
|
||||
|
@ -47,4 +49,4 @@ unit:value("minutes", "min")
|
|||
unit:value("hours", "h")
|
||||
|
||||
|
||||
return m
|
||||
return m
|
||||
|
|
Loading…
Reference in New Issue