luci-app-alist: Limit token_expires_in minimum

This commit is contained in:
sbwml 2023-05-07 09:46:35 +08:00
parent 89407d2ef5
commit 9063f7e03c

View File

@ -39,7 +39,7 @@ o.default = "0"
o.rmempty = false
o = s:option(Value, "token_expires_in", translate("Login Validity Period (hours)"))
o.datatype = "and(uinteger,min(0))"
o.datatype = "and(uinteger,min(1))"
o.default = "48"
o.rmempty = false