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?
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 :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community