My users can login using social options (Facebook, Twitter) and so I don't use the Auth::attempt()
method, but the Auth::login()
.
How can I remember my users so the don't have to login every time they restart the browser?
It is not in the docs, but if you look at the code;
public function login(UserInterface $user, $remember = false)
So just do
Auth::login($user, true);