I am running into the same issue: works after login, but not after registration. Any luck on your end?
Spark registration redirect not working
I am trying to redirect a user to a page when they register. I have accomplished this redirect when the user logs in (after initial registration) by altering the following line in the LoginController in vendors/laravel/Spark/src/Http/Controllers/Auth
protected $redirectTo = '/Profile/';
In attempting to do the same thing for the registration, I altered the same line in the RegisterController at the same address. However, that did not work.
I traced the code down to the RedirectsUsers trait which first looks for the redirectPath property and then for the redirectTo property. So it seems like this should work.
However, I get redirected to 'undefined' which would seem to indicate that the 'redirectTo' variable is either protected somewhere that it should not be or is simply missing. The variable is present in the authController for laravel.
Any suggestions on where to look?
Please or to participate in this conversation.