samedi 24 août 2019

How to change the "remember-me" Laravel cookie lifetime?

I use the built-in "Remember me" functionnality of Laravel 5.8. I checked the cookies and saw the remember-me cookie expires in about 5 years. That is way to long and I would like to shorten it. As Laravel automaticly creates the cookie, I don't have the hand on it. How can I do this ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire