404labfr / 404labfr/laravel-impersonate
Seeing 403's after basic Laravel 9 install
- 主要语言
- PHP
- 星标
- 2.3k
- 派生
- 235
- PR 合并指标
- 30 天内没有已合并 PR
描述
Using Laravel 9.34.0 and stock `session` auth driver.
Installed the package:
```
"lab404/laravel-impersonate": "^1.7",
```
Added `Impersonate` trait to `app\User.php`:
```
use HasFactory, Notifiable, Impersonate;
```
Added the route helper at the top of `routes/web.php`:
```
Route::impersonate();
```
Navigating to `/impersonate/take/2` displays the "403 | Forbidden" error page.
Navigating to `/` shows I am impersonating user `2` as expected.
Navigating to `/impersonate/leave` again displays the "403 | Forbidden" error page.
Navigating to `/` shows I am logged in as the original user again.
Any idea why the impersonate routes are not redirecting and instead returning a 403?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。