diff --git a/catch/CatchAdminService.php b/catch/CatchAdminService.php index bb63f1d..982ba5f 100644 --- a/catch/CatchAdminService.php +++ b/catch/CatchAdminService.php @@ -86,7 +86,7 @@ class CatchAdminService extends Service protected function registerMiddleWares(): void { $this->app->middleware->import([ - 'catch_check_permission' => PermissionsMiddleware::class, + 'catch_check_permission' => PermissionsMiddleware::class, ], 'route'); } diff --git a/catch/login/controller/Index.php b/catch/login/controller/Index.php index 90745f5..50a6b23 100644 --- a/catch/login/controller/Index.php +++ b/catch/login/controller/Index.php @@ -1,14 +1,15 @@ putFile('ok', $file)); $params = $request->param(); $token = $auth->attempt($params);