Skip to content

Commit

Permalink
Added the api middleware to the kernel
Browse files Browse the repository at this point in the history
Signed-off-by: WillTheDeveloper <willthedeveloper13@gmail.com>
  • Loading branch information
WillTheDeveloper committed Aug 18, 2022
1 parent 6cea8d4 commit 300906e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,8 @@ class Kernel extends HttpKernel

'owner' => \App\Http\Middleware\OwnerOnly::class,

'abilities' => \Laravel\Sanctum\Http\Middleware\CheckAbilities::class,
'ability' => \Laravel\Sanctum\Http\Middleware\CheckForAnyAbility::class,

];
}

0 comments on commit 300906e

Please sign in to comment.