Support the ongoing development of Laravel.io →
posted 9 years ago
Requests
Last updated 2 years ago.
0

I am not sure if Middleware provides something like that, but a workaround could be setting a flag in the session and in another additional Middleware you check if the flag has been set.

So in all your other Middleware you have to turn true and only when the logic within was successful you set the session flag.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ihym ihym Joined 2 Oct 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.