luci-app-alist: Limit token_expires_in
minimum
This commit is contained in:
parent
89407d2ef5
commit
9063f7e03c
@ -39,7 +39,7 @@ o.default = "0"
|
|||||||
o.rmempty = false
|
o.rmempty = false
|
||||||
|
|
||||||
o = s:option(Value, "token_expires_in", translate("Login Validity Period (hours)"))
|
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.default = "48"
|
||||||
o.rmempty = false
|
o.rmempty = false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user