What is meant by check method ?

Answer Posted / surbhi

This is shown in the code given below -

if (Hash::check('plain-text', $hashedPassword)) {
// The passwords match...
}
Note that the check method compares the plain-text with the hashedPassword variable and if the result is true, it returns a true value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are service providers?

523


How do I seed my database for column that is a foreign key referencing to other table?

480


Which is better django or laravel?

572


Is laravel built on symfony?

486


What is your favorite feature of laravel?

549






Explain loggin in laravel.

509


How do I register an artisan command?

502


What is laravel passport?

563


What is php artisan serve in laravel?

498


What is laravel used for?

526


How to remove /public from url in laravel?

503


What is meant by Laravel - Ajax ?

995


Tell me how do I see all of the routes that are defined?

472


What is the best way to learn laravel?

510


What is a Laravel - Encryption ?

943