Limit license seats to 999 to prevent latency

This commit is contained in:
snipe 2019-10-28 13:48:18 -07:00
parent 4fe689dc5d
commit 0290257734

View file

@ -48,7 +48,7 @@ class License extends Depreciable
protected $table = 'licenses';
protected $rules = array(
'name' => 'required|string|min:3|max:255',
'seats' => 'required|min:1|max:1000000|integer',
'seats' => 'required|min:1|max:999|integer',
'license_email' => 'email|nullable|max:120',
'license_name' => 'string|nullable|max:100',
'notes' => 'string|nullable',