Support the ongoing development of Laravel.io →
posted 10 years ago
Authentication
Last updated 2 years ago.
0

I had the same issue. It was caused by having not having my user tables primary_key defined in my users model.

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

croxio5 croxio5 Joined 9 Feb 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.

© 2024 Laravel.io - All rights reserved.