404labfr / 404labfr/laravel-impersonate
Seeing 403's after basic Laravel 9 install
- Lenguaje dominante
- PHP
- Estrellas
- 2.3k
- Forks
- 235
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.