remember_token in laravel

By | June 12, 2018

its field in the user table(or tables used for login purpose) it stores a string in this column
For implementing remember me feature,you need to pass boolean value as the second parameter
if (Auth::attempt([’email’ => $email, ‘password’ => $password], $remember)) {

}
This feature will keep the user aunthenticated undefinitely or untill they manually log out.

Click here for more interview questions