Category "middleware"

Why do I get null auth user inside middleware?

The global middlewares, the ones which are run for every request on every route: protected $middleware = [ \App\Http\Middleware\CheckForMaintenanceMode

exit from express middleware with specific http status

Hopefully this is a simple one, but I have some custom middleware which I want to return a 404 or 401 etc to the user and stop the propagation of other handlers