Your config:
config pin
option pincode1 '1'
means that "pin" is "Typed Section", while the uci:get require a "Named
Section".
You can use uci:get_first() with Typed Section, or convert to Named
Section like this
config general pin
option
("general" is Typed Section and "pin" now i
Hi all, Why I can not get "pinpro" value? I got empty!
/etc/config/verify
config pin
option pincode1 '1'
option oldcode '11'
option protect 'disable'
In the model/cbi
function code.write(self, section, value)
local pinpro = m.uci:get("verify", "pin", "protect")
--