Middleware makes the process of filtering HTTP requests for applications more convenient. In the case that a user is not authenticated, middleware redirects the user to the login screen. Where a user is authenticated, the middleware gives the request more access to the application.
![Cover image for Laravel Bits [0 => "Middleware"]](https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F1xhn0kyktpgnnsty8vsi.png)
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)