Support the ongoing development of Laravel.io →
Authentication
Last updated 1 year ago.
0

What is the email field named in the database? I think that has to match up.

0

head_email as well, already double checked that

0

bumping

0

Here's a more commented version

http://laravel.io/bin/2WbvE

0

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.

0

That's the one! Knew there could be problems with that, thought 60 was enough. 64 did the trick! Thanks :)

0

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.....

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ffffionn ffffionn Joined 19 Jun 2015

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.