404labfr / 404labfr/laravel-impersonate

Override "take_redirect_to" with route

Open
#147 2 comments 7 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
PHP
Stars
2.3k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

We should be able to provide the route as a third parameter to override the `take_redirect_to` config or `getTakeRedirectTo` method.

`route('impersonate', ['id' => $id, 'guardName' => 'web', 'redirect_to' => $route])`

This will impersonate the user and then redirect to the provided path or route.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.