Skip to content

A free open source IT asset/license management system

Limit license seats to 999 to prevent latency

snipe0290257734c0
diff --git a/app/Models/License.php b/app/Models/License.php
index 337b30943e..136b38634c 100755
--- a/app/Models/License.php
+++ b/app/Models/License.php
@@ -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',