Skip to content
Discussion options

You must be logged in to vote

Vous avez dit que vous utilisez Laravel 12, donc vos configurations middleware doivent être dans /bootstrap/app.php.

You said you're using Laravel 12. In Laravel 11, 12 your middleware must be configured in /bootstrap/app.php.

Example: https://github.com/spatie/laravel-permission/blob/main/docs/basic-usage/middleware.md#package-middleware

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by drbyte
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants