Support the ongoing development of Laravel.io →
Authentication Security Validation
Last updated 1 year ago.
0

You would do this within a single auth filter, by checking what URL they are trying to get to and redirecting to the proper login page for them.

Last updated 1 year ago.
0

beaverusiv said:

You would do this within a single auth filter, by checking what URL they are trying to get to and redirecting to the proper login page for them.

That was my idea too, but then I would need to check if(Auth::user()) and then redirect to proper page, but I thought there is better way to do this.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

alenn-m alenn-m Joined 5 Mar 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.