404labfr / 404labfr/laravel-impersonate
After Auth::user()->impersonate($otherUser) I'm getting logged out
Aperta
possible bug
- Lingua principale
- PHP
- Stelle
- 2.3k
- Fork
- 235
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I've installed the package as described and tried to impersonate other user.
But I'm always getting logged out.
Here is my code:
$anotherUser = User::find(9);
Auth::user()->impersonate($anotherUser);
return redirect()->route('dashboard');
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.