I am performing the function of remember user login in the browser, I use the default Authentication of laravel, after "remember me checkbox" checked in the login form it will generate remember tokens in the database, but when I turned off the browser and reopened the user information that was not available in the login form. I turned off autocomplete (username,password inputs) in the inputs, because chrome automatically remembers lots of login accounts, I just want it to remember which account logged in and tick checkbox remember.
// Default laravel attemptLogin
protected function attemptLogin(Request $request)
{
return $this->guard()->attempt(
$this->credentials($request), $request->filled('remember')
);
}
// Input
<input type="checkbox" name="remember"> Remember me</label>