F
Filament3y ago
dyo

Change login table

can anyone suggest me how to make filament login page use the table other than users table?
5 Replies
toeknee
toeknee3y ago
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, ], ],
wyChoong
wyChoong3y ago
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
wyChoong
wyChoong3y ago
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…
ba_mbi_07
ba_mbi_072y ago
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
wyChoong
wyChoong2y ago
That’s a different use case, create your own help post

Did you find this page helpful?