* luci/app/ddns: obfuscate password fields

This commit is contained in:
Jo-Philipp Wich 2008-10-23 17:50:06 +00:00
parent 38319cfaa5
commit 222fe69ac6
2 changed files with 8 additions and 4 deletions

View file

@ -31,7 +31,9 @@ svc:value("freedns.afraid.org")
s:option(Value, "domain", translate("hostname")).rmempty = true s:option(Value, "domain", translate("hostname")).rmempty = true
s:option(Value, "username", translate("username")).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 = s:option(ListValue, "ip_source")
src:value("network", translate("network")) src:value("network", translate("network"))

View file

@ -29,7 +29,9 @@ svc:value("freedns.afraid.org")
s:option(Value, "domain", translate("hostname")).rmempty = true s:option(Value, "domain", translate("hostname")).rmempty = true
s:option(Value, "username", translate("username")).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_source = "network"
s.defaults.ip_network = "wan" s.defaults.ip_network = "wan"