lundi 1 février 2016

Laravel 5 Authentification issue with "remember"

I have a phenomen that I do not understand about saving a session in Laravel 5.1

When my user connects by checking the "remember" box, I see the cookie "remember ..." which arrives on his computer. And when he does not check this box the cookie does not happen. See image below.

enter image description here

On the database side, the column "remember_token" is well fed.

When the same user closes his browser and relaunch the application : it works, he is well recognized.

The mechanical is working.

The problem is when he tries again later in a few hours, at the time the app recognizes no more.

My code is very classic, I do not think it's the origin of the issue.

Probably a config problem somewhere, but what?

Thanks in advance for your help.

dominique



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire