i found 'home' => RouteServiceProvider::HOME, in config/fortify.php
what i want to do is
when user completed register user, redirect to /user/complete
when user logged in, redirect to /dashboard
now, both of them redirect to /dashboard
(strictly when after completed register user, redirect to login because not logged in yet)
how can i set route properly?
I don't do this before but maybe can customize a little declaring another path in the fortify config file
'home' => RouteServiceProvider::HOME,
'register' => RouteServiceProvider::REGISTER;
In the RouteServiceProvider class
public const HOME = '/dashboard';
public const REGISTER = '/user/complete';
and in the RegisterResponse class
: redirect(config('fortify.register'));