mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Limit license seats to 999 to prevent latency
This commit is contained in:
parent
4fe689dc5d
commit
0290257734
|
@ -48,7 +48,7 @@ class License extends Depreciable
|
||||||
protected $table = 'licenses';
|
protected $table = 'licenses';
|
||||||
protected $rules = array(
|
protected $rules = array(
|
||||||
'name' => 'required|string|min:3|max:255',
|
'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_email' => 'email|nullable|max:120',
|
||||||
'license_name' => 'string|nullable|max:100',
|
'license_name' => 'string|nullable|max:100',
|
||||||
'notes' => 'string|nullable',
|
'notes' => 'string|nullable',
|
||||||
|
|
Loading…
Reference in a new issue