Support the ongoing development of Laravel.io →
Authentication Security Validation
Last updated 7 months 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 7 months 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 7 months ago.
0

Sign in to participate in this thread!

LaraJobs

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.

© 2022 Laravel.io - All rights reserved.