Changing login redirect url
Instead of the dashboard being where you land after login, where would you change to land on a resource?
6 Replies
Solution
Think overriding the LoginResponse class works.
@pmkevinrudd where do i find that class
You need to create it.
kindly explain properly the all process
https://github.com/filamentphp/filament/blob/3.x/packages/panels/src/Http/Responses/Auth/LoginResponse.php copy this to your own code, change the URL inside intended(), add the code I posted above to the boot method of your appserviceprovider
GitHub
filament/packages/panels/src/Http/Responses/Auth/LoginResponse.php ...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
thank you