I want to get the record from resetpasswordlog (Note, I have changed the table name) table in Laravel 5.5 through the generated token during forgot password. I do not wan to use the default notification and instead send email to users. I used Hash::make($token) but this is not matched with any record in the "resetpasswordlog" table.
// user model
public function sendPasswordResetNotification($token)
{
dd(Hash::make($token));
}
The result is:
$2y$10$sBeJOd33E7A10ZSwvVZpFeqNe/Cka2jYLdp4rI8fwIkgIFoJZgY5S
But in the db table, I saw the record is entered as like:
$2y$10$v1BM7EE4Xs64Xlv8Cktz/OHpwS/KX0qpMjg4Jf.VuPg...
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire