Answers for "how to make password match with laravel validation"

PHP
3

password match laravel

1. $user = User::where('email', request('email'))->first();
2. Hash::check(request('password'), $user->password);

This will return true or false based on whether or not the password matches.
Posted by: Guest on August-02-2020

Code answers related to "how to make password match with laravel validation"

Browse Popular Code Answers by Language