diff --git a/app/Http/Controllers/SystemController.php b/app/Http/Controllers/SystemController.php index 3e26786..6c55a55 100644 --- a/app/Http/Controllers/SystemController.php +++ b/app/Http/Controllers/SystemController.php @@ -678,6 +678,7 @@ class SystemController extends Controller if (Arr::get($validated,'remove')) { $so->sessions()->detach($o->zone); $so->mailers()->detach(); + $so->users()->detach(); $so->delete(); } elseif (Arr::get($validated,'remsess')) {