mercredi 1 février 2017

How can I return to a specified URL after login in Laravel?

I'm using Laravel 5.3 and want to return the user to a user-specified URL after login.

I am using a lot of JavaScript and want to return to a specific URL, that isn't the URL the user is trying to access, after they have logged in.

For example: /login?r=/come/here/after/login

I can pass this URL to the login screen, but I can't find a way to pass it through to the auth controller for redirection after login is successful.



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

Aucun commentaire:

Enregistrer un commentaire