I had the same issue. It was caused by having not having my user tables primary_key defined in my users model.
OliverShanahan said:
I had the same issue. It was caused by having not having my user tables primary_key defined in my users model.
This doesn't need to be defined for me as I'm using the default primary key name of "id", but defining it none-the-less doesn't have an impact.
anlutro said:
Have a look at http://wiki.laravel.io/Laravel_4_Auth_pitfalls
I've checked that out and I've narrowed it down to my sessions misbehaving. Doing a bit of further looking into it every time I make a request a new session ID is being generated. Meaning that for some reason sessions aren't being persisted across requests. Funny thing is, the session files in app/storage/sessions are being made, so I don't know how to go forwards.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community