jeudi 25 août 2016

Laravel 5.0 user keeps getting logged out when updating their account

I have a controller set up with a few methods which handle the editing and updating of a customer account. In the construct of the controller I have $this->middleware('auth'), and I have wrapped the routes in a route group with that middleware are well, but when user is logged into my system, and they try to update their account, the RedirectIfAuthenticated class is firing on the guest middleware and is logging my users out.

I can't figure it out at all.

Anyone had this problem before?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire