How to compare two encrypted(bcrypt) password in laravel
You can simply use Hash::check()
methodeg:
if(Hash::check('plain-text', $hashedPassword)) { return true;}
reference https://laravel.com/docs/5.5/hashing
You can simply use Hash::check()
methodeg:
if(Hash::check('plain-text', $hashedPassword)) { return true;}
reference https://laravel.com/docs/5.5/hashing