Support the ongoing development of Laravel.io →
Authentication Architecture
Last updated 2 years ago.
0

I'm not 100%, but I don't think so. The route/filter would be hit first, before the controller. So you wouldn't be able to get it.

I might be wrong though. If you are setting up Roles and Permissions, then there are some helpful packages that will help you here.

There are a few out there, this one is probably the most widely used: https://cartalyst.com/manual/sentry

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

shahroq shahroq Joined 14 Jun 2014

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.