404labfr / 404labfr/laravel-impersonate

Redirect to URL where the Impersonation was triggered not working

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

描述

Firstly, thanks for the great plugin.
Unfortunately I found a bug, where the leave method doesn't redirect to the page as intended:

````

if (session()->has('laravel-impersonate:leave_redirect_to')) {
$routeName = session('laravel-impersonate:leave_redirect_to');
session()->forget('laravel-impersonate:leave_redirect_to');
}
````
The above code is great, but it appears that the session parameter has never been set.

I'm creating a pull request to fix that issue and will refer this issue to it. Please merge in a timely manner, so I don't have to implement my fork into production.

Thanks in advance. PR coming soon

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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