i run the laravel jetstream and set to livewire not vue . i usually using auth ui and custom the login in
App -> Http -> controller -> auth -> LoginController
in this LoginController i custom this redirect like this
protected function authenticated(Request $request, $user)
{
if ( $user->isUser() ) {// do your margic here
return redirect()->route('user_dashboard');
}
elseif ($user->isSarpras()) {
return redirect()->route('admin_sarpras_dashboard');
}
}
but on laravel jetstream iam cant found Controller->auth . how to do best manage login and create multiple login using laravel jetstream ?