Changeset 3864
- Timestamp:
- 12/07/08 14:44:25 (5 years ago)
- Location:
- luci/branches/luci-0.8/modules
- Files:
-
- 2 modified
-
admin-full/luasrc/model/cbi/admin_system/passwd.lua (modified) (1 diff)
-
admin-mini/luasrc/model/cbi/mini/passwd.lua (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
luci/branches/luci-0.8/modules/admin-full/luasrc/model/cbi/admin_system/passwd.lua
r2880 r3864 17 17 pw1 = f:field(Value, "pw1", translate("password")) 18 18 pw1.password = true 19 pw1.rmempty = false 19 20 20 21 pw2 = f:field(Value, "pw2", translate("confirmation")) 21 22 pw2.password = true 23 pw2.rmempty = false 22 24 23 25 function pw2.validate(self, value, section) -
luci/branches/luci-0.8/modules/admin-mini/luasrc/model/cbi/mini/passwd.lua
r2880 r3864 17 17 pw1 = f:field(Value, "pw1", translate("password")) 18 18 pw1.password = true 19 pw1.rmempty = false 19 20 20 21 pw2 = f:field(Value, "pw2", translate("confirmation")) 21 22 pw2.password = true 23 pw2.rmempty = false 22 24 23 25 function pw2.validate(self, value, section)
