feat: Implement DNS management with dedicated models, repositories, requests, controllers, and services, while refactoring authentication by removing Passport and Sanctum.

This commit is contained in:
pbao9
2026-03-09 16:43:06 +07:00
parent 80a5e0ca3d
commit 4e4807dbea
47 changed files with 1905 additions and 1243 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class Host extends Controller
$editUrl = route('package.host.edit', ['id' => $d->id]);
$deleteBtn = '';
if (auth()->guard('admins')->user()->can("delete module vcenter")) {
if (auth()->guard('admin')->user()->can("delete module vcenter")) {
$deleteUrl = route('package.host.destroy', ['id' => $d->id]);
$csrf = csrf_field();
$method = method_field('delete');