Redirection Path on Impersonation #3932
-
Hey, Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
+1 im having the same issue |
Beta Was this translation helpful? Give feedback.
-
I figured out a little workaround by checking impersonation state in my Route::get('/', function (Request $request, ImpersonatesUsers $impersonator) {
if ($impersonator->impersonating($request)) {
return redirect('/nova/resources/leads');
}
return view('welcome');
}); |
Beta Was this translation helpful? Give feedback.
-
This has been implemented and will be available on the next release. |
Beta Was this translation helpful? Give feedback.
I figured out a little workaround by checking impersonation state in my
/
route: