mercredi 27 janvier 2016

Laravel 5 refresh login page after session times out

I have seen many posts very similar question and they talk about redirecting to login page when of course you are logged in and a session times out.

My problem is the Login page itself which is using auth:guest middle-ware.

If I am on Login page... for 120mins and session times out and now I enter credentials and click submit button I get TokenMismatchException error.

I want to refresh login page when session has expired such that it has a new csrf token.

Thanks, K



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1UqhUGE
via IFTTT

Aucun commentaire:

Enregistrer un commentaire