Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
 
PREVIOUS NEXT
Tagged: #laravel #password #test
ADD COMMENT
Topic
Name
3+9 =