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 摘要。