I am using Laravel 5.5 and trying to achieve the following scenario: The user tries to submit a form with POST, but if not logged in, I show the login screen.
My problem is that after the login I use return redirect()->intended('dashboard'); to continue the user flow that I interrupted. But the redirect turns the request to GET.
Is there any reasonable way to store the data from my initial form before facing the login screen, so I can restore it after being redirected after the login?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire