I restarted the apache server and seemed to fix the problem, I don't know why. I also set the $primaryKey, just in case, although it's id:
http://tim.hithlonde.com/2014/laravel-auth-attempt-works-but-not-logged-in/
I have the same issue.
Laravel prject logs me out automatically.
I don't know why.
This problem is local ENV
(i'm running project through php artisan serve
).
When project is UP and running through apache
there is no problem.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community