summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-26 02:09:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-26 02:09:13 +0000
commit70fe5ad437fbff90954accaa1a90bcea37cfa469 (patch)
tree97c4b9aa0bfdb1cae613530b1af41aa8e7a485f5 /modules/admin-full/luasrc/model/cbi
parent20ee7d4bd9844bba636d944d7695036c12cb4074 (diff)
modules/admin-full: fix dropbear pwauth option (#42) - thanks for reporting!
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_services/dropbear.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_services/dropbear.lua b/modules/admin-full/luasrc/model/cbi/admin_services/dropbear.lua
index a8ce2694a..62babc549 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_services/dropbear.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_services/dropbear.lua
@@ -22,5 +22,6 @@ port.isinteger = true
pwauth = s:option(Flag, "PasswordAuth", translate("a_srv_d_pwauth"), translate("a_srv_d_pwauth1"))
pwauth.enabled = 'on'
pwauth.disabled = 'off'
+pwauth.rmempty = false
-return m \ No newline at end of file
+return m