updated how require permission works

This commit is contained in:
2021-08-02 01:31:11 -05:00
parent 5b88887f53
commit 99ff081b05

View File

@@ -28,8 +28,6 @@ class RequirePermission
abort_unless(auth()->check() && isset($perms[0]->permission), 403, "You don't have the correct permission to be in this area.");
}
return $next($request);
}
}