A free open source IT asset/license management system
Company name length to 1
snipe0e0b31bba692
diff --git a/app/Models/Company.php b/app/Models/Company.phpindex 17d26ade91..ce4ef4bf45 100644--- a/app/Models/Company.php+++ b/app/Models/Company.php@@ -14,8 +14,7 @@ final class Company extends Modelprotected $table = 'companies';// Declare the rules for the model validation- protected $rules = ['name' => 'required|min:2|max:255|unique:companies,name'];-+ protected $rules = ['name' => 'required|min:1|max:255|unique:companies,name'];/*** Whether the model should inject it's identifier to the unique* validation rules before attempting validation. If this property