You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would also be a nice config value. We don't use our / url for anything at the moment and everything is in /admin (using Filament for that). Would be nice to set the URL for an impersonated user to go to this url too instead of the root application url. So if a super admin login's in and impersonates a user, they should be redirected to /admin instead of / and I can't seem to figure out how to do that just yet (haven't spent a ton of time on it yet either so if I missed that detail, apologies!).
We should be able to provide the route as a third parameter to override the
take_redirect_to
config orgetTakeRedirectTo
method.route('impersonate', ['id' => $id, 'guardName' => 'web', 'redirect_to' => $route])
This will impersonate the user and then redirect to the provided path or route.
The text was updated successfully, but these errors were encountered: