lundi 3 octobre 2016

Log user back in with remember me with Laravel 5

I have it setup so that onced logged in, the remember me is set to true with Auth::attempt([$u, $p], true);

But the session expires after 2 hours of no activity. So the user becomes logged out.

The documenation was very clear, how does the remember me work if the user is logged out after 2 hours? Am I supposed to check if the remember me cookie exists and log the user in?

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire