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

Nosean's avatar

spatie RedirectIfAuthenticated

Hallo Guy's,

i need our help. I would like to load different layouts when different users log in. e.g.

Driver = Layout 1 Manager = layout 2

I use the Spatie Roles and permissions.

Think in the file RedirectIfAuthenticated.php you can adapt that right?

Thanks for help!

0 likes
0 replies

Please or to participate in this conversation.