Skip to content

A free open source IT asset/license management system

Make site name required at the model

snipe9527aac242c2
diff --git a/app/Models/Setting.php b/app/Models/Setting.php
index 30600aea56..5a6b216167 100755
--- a/app/Models/Setting.php
+++ b/app/Models/Setting.php
@@ -49,6 +49,7 @@ class Setting extends Model
* @var array
*/
protected $rules = [
+ 'site_name' => 'required',
'brand' => 'required|min:1|numeric',
'qr_text' => 'max:31|nullable',
'alert_email' => 'email_array|nullable',