diff --git a/catchAdmin/CatchAdminService.php b/catchAdmin/CatchAdminService.php index de12131..7809200 100644 --- a/catchAdmin/CatchAdminService.php +++ b/catchAdmin/CatchAdminService.php @@ -76,7 +76,7 @@ class CatchAdminService extends Service protected function registerMiddleWares(): void { $this->app->middleware->import([ - 'check_auth' => PermissionsMiddleware::class + 'catch_check_permission' => PermissionsMiddleware::class, ], 'route'); }