I'm building an app where a logged in user can edit their own profile and of course unable to edit another user's profile.
I have this following route :
http://ift.tt/2ttFz2u
The problem with that route is that the route is accessible by another users and and will finally allow the other users to the edit "derp22" profile data. My question is how to protect this route so that the other users can't access it ?
Thanks for the help!
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2sUiskG
via IFTTT
Aucun commentaire:
Enregistrer un commentaire