What is the email field named in the database? I think that has to match up.
ffffionn said:
bumping
make sure, password filed in database is minimum varchar(64) field. Password is hashed. then try to auth().
Had the same problem 2-3 days earlier. Hash was the culprit.
That's the one! Knew there could be problems with that, thought 60 was enough. 64 did the trick! Thanks :)
I gone through this code on a deep level to try and fix this problem.. All along, just checking the length would have fixed. I am sitting there thinking, "md5 is less than 40.... wtf ---- hasher hasher WHY WHY..... " bcrypt duh.
I am now implementing auth via a new facade and extending the auth class in my own package. This is cool because I can write my own authentications, use multiple models, etc I think at the correct level in the request lifecycle and without touching ANYTHING related to the laravel auth files including app\Http\Controllers\auth which for the most part people seem to be saying, just edit that.....
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community