libs/cbi: Disable strict mode for now
This commit is contained in:
parent
055cef5336
commit
63706a9f43
1 changed files with 3 additions and 0 deletions
|
@ -80,7 +80,10 @@ end
|
||||||
|
|
||||||
local function _uvl_validate_section(node, name)
|
local function _uvl_validate_section(node, name)
|
||||||
local co = node.map:get()
|
local co = node.map:get()
|
||||||
|
|
||||||
luci.uvl.STRICT_UNKNOWN_OPTIONS = false
|
luci.uvl.STRICT_UNKNOWN_OPTIONS = false
|
||||||
|
luci.uvl.STRICT_UNKNOWN_SECTIONS = false
|
||||||
|
|
||||||
local stat, err = node.map.validator:validate_section(node.config, name, co)
|
local stat, err = node.map.validator:validate_section(node.config, name, co)
|
||||||
if err then
|
if err then
|
||||||
node.map.save = false
|
node.map.save = false
|
||||||
|
|
Loading…
Reference in a new issue