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