modules/admin-full: fix dropbear pwauth option (#42) - thanks for reporting!
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 26 Jan 2009 02:09:13 +0000 (02:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 26 Jan 2009 02:09:13 +0000 (02:09 +0000)
modules/admin-full/luasrc/model/cbi/admin_services/dropbear.lua

index a8ce2694a5dedfb40e3bb660524b55cef2377ee7..62babc5499128f1353057ccdcdef952d6a90aa2a 100644 (file)
@@ -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