Support the ongoing development of Laravel.io →
Authentication

Hey guys i am newly working on Laravel. I am facing a problem regarding authentication. Its that whenever i try to authenticate a user and redirect it to a view of a specific controller it works fine but then when i try to open the other view the user authentication does not work ( user logs out ). basically the issue is i have two controllers so if i redirects from authentication to any one of them the other one doesnt have the user.. I hope i have explained my problem clearly

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.

© 2025 Laravel.io - All rights reserved.