mercredi 30 octobre 2019

Laravel, redirect unregistered user to login route with parameter

Im using the Laravel base Authentication, when unregistered user attempt to access a link, for example: http://myapp.com/financial/?email=john@web.com

It is redirect to http://myapp.com/login because the user is not registered yet.

My question is: how do i get the url parameter email of the original link (http://myapp.com/financial/?email=john@web.com) of the user tried access in my login page?

Obs: im using Laravel 5.7



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire