Skip to content

A free open source IT asset/license management system

Fixed #7083 - Removed user_exists constraint on department save

snipea014af4c47ab
diff --git a/app/Models/Department.php b/app/Models/Department.php
index e864afda37..14d7329b61 100644
--- a/app/Models/Department.php
+++ b/app/Models/Department.php
@@ -26,7 +26,6 @@ class Department extends SnipeModel
protected $rules = [
'name' => 'required|max:255',
- 'user_id' => 'nullable|exists:users,id',
'location_id' => 'numeric|nullable',
'company_id' => 'numeric|nullable',
'manager_id' => 'numeric|nullable',