Add mass assignable attributes to User model and specify custom login page in AdminPanelProvider
This commit is contained in:
1 parent
8a14482c07
commit
60afe0c441
4 files changed
+88
-1
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Providers\Filament;
|
||||
|
||||
use App\Filament\Pages\Auth\Login;
|
||||
use Filament\Pages\Dashboard;
|
||||
use Filament\Http\Middleware\Authenticate;
|
||||
use Filament\Http\Middleware\DisableBladeIconComponents;
|
||||
@@ -27,7 +28,7 @@ public function panel(Panel $panel): Panel
|
||||
->default()
|
||||
->id('panel')
|
||||
->path('panel')
|
||||
->login()
|
||||
->login(Login::class)
|
||||
->registration()
|
||||
->colors([
|
||||
'primary' => Color::Amber,
|
||||
|
||||
Reference in new issue
Block a user