Change login table
can anyone suggest me how to make filament login page use the table other than users table?
5 Replies
Clone the LoginPage into a new livewire element and update the model class
'auth' => [
'guard' => env('FILAMENT_AUTH_GUARD', 'web'),
'pages' => [
'login' => \App\Http\Livewire\LoginPage::class,
],
],
No you don’t need to extend/replace LoginPage
Just define new auth guard as how you would do in a standard Laravel app
and set the FILAMENT_AUTH_GUARD
Medium
Laravel Multi Auth using Guards with Example [Web Authentication]
As a developer, sometimes we need to develop a system where we have multiple types of roles and a table for each role type. For example…
But my case is different I am using wordpress database connect to my laravel backend i did not migrate the tables which laravel provided so it's making issue while filament login
That’s a different use case, create your own help post