404labfr / 404labfr/laravel-impersonate

Override "take_redirect_to" with route

未关闭
#147 2 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
PHP
星标
2.3k
派生
235
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。