Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

joeroot44's avatar

Trouble with Laravel Middleware Redirects

I'm encountering an issue with Laravel middleware redirects and could use some guidance. I've set up a custom middleware to protect certain routes, ensuring that only authenticated users can access them. Here's a simplified version of my middleware:

0 likes
2 replies

Please or to participate in this conversation.