Answers for "laravel password test"

PHP
0

laravel password test

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 February-23-2022

Browse Popular Code Answers by Language