Laravel 5.4: Password reset token not the same as email token -
i have slight problem after upgrading laravel 5.4
when password reset, email gets generated , sent perfectly, token saves user record in database follows:
$2y$10$n0wfuqekeifto.cazxyldoumy1x9tbhfvdn8iwkudlq2w9uoc00ku
but token sends user password reset is:
bc1c82830bc8ad1356aa5e2a2a5a342ae6c6fabd385add503795cca1a1993e15
my question why 2 tokens different. , how perform check validate if token exists in database need email address post reset controller.
thanx in advance.
token store in database hashed same password column in users table. token recieve not hashed. thats why different
due password ;
$2y$10$n0wfuqekeifto.cazxyldoumy1x9tbhfvdn8iwkudlq2w9uoc00ku
you have
hash::make('bc1c82830bc8ad1356aa5e2a2a5a342ae6c6fabd385add503795cca1a1993e15');
and cannot revert process backwards.
Comments
Post a Comment