I've found here some examples, but they are not answering how to redirect registered user to his own profile by id. protected $redirectPath = '/profile/view/'.$user->id; Did not helped.. I have a project where users being authorized without email confirmation and they are sent to /home afeter registration. Rout to user profile is: /profile/view/id (id is unique of course). I managed to send them there after login (in AuthController : public function authenticated($request,$user){return redirect('/profile/view/'.$user->id);} but redirect to profile after registration I can't handle... Help please
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2i1fUdJ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire