404labfr / 404labfr/laravel-impersonate

Redirect to URL where the Impersonation was triggered not working

Đang mở
#230 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
2.3k
Fork
235
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.