successdav
9 months ago

redirectTo After Registration

Posted 9 months ago by successdav

I want to redirect the user to the products page after registration, I change this variable from

protected $redirectTo = '/home';

to

protected $redirectTo = '/products';

in the RegisterController, the redirect works but it does not sign in the user after redirecting to this URL, If I set it back to its initial, it redirects the user to home and also sign in the user.

Please sign in or create an account to participate in this conversation.