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

Auth::attempt will be hashing the password that you have already hashed with your own method

Without rewriting the auth code, I guess you could grab the user from the db and then compare the password to your hash

Out of interest why use your own hash?

0

Because laravel didnt hash the password. I didnt know why. and laravel didnt give me error messages. I've been twice reset my application because I thought I've change something important.

I think I will try grab the users from db and compare it and do loginUsingId. Thanks :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

adalahsaya adalahsaya Joined 15 Aug 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.