Using Laravel to write login authentication is to use crypt encryption to add the user to the database later authentication password decryption has been an error, the payload is Invaild
Because I am laravel frame small white oneself think for a long time did not have the result Baidu search unexpectedly domestic laravel framework of information so little nothing found
And then Google search Laravel the payload is invaild in some English forums to find some information but it's not very helpful to me or not solved.
Think of the hash encryption and then switch to hash encryption to add the user
But when the login to verify the error when the hash match to go the false interval
Thinking for a while
And then I thought it was a database problem. After all, this database user table was not built by me, it was built by one of my partener.
And then surprised to find that the password field length is too short. VarChar only 50 when you add a user, the password will be stored incomplete if the match is definitely not a success.
So the password field length is 1024
And then the hash match is normal.
Laravel Login verification encounters a pit hash verification match problem