Connect as

Do you know how to make a connect as function ? https://filamentphp.com/docs/3.x/panels/users With Laravel/UI I use this function :
public function connect_as($id){
Session::put('rollback', \Auth::user()->id );
Auth::loginUsingId( $id );

return Redirect()->route('home');
}
public function connect_as($id){
Session::put('rollback', \Auth::user()->id );
Auth::loginUsingId( $id );

return Redirect()->route('home');
}
Thank you
Solution:
Check the plugin 'impersonate' it's in the plugins sectcion
Jump to solution
2 Replies
Solution
Nox
Nox12mo ago
Check the plugin 'impersonate' it's in the plugins sectcion
SheepBild
SheepBildOP12mo ago
Thank you !
Want results from more Discord servers?
Add your server