Add mass assignable attributes to User model and specify custom login page in AdminPanelProvider
This commit is contained in:
@@ -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 @@ class AdminPanelProvider extends PanelProvider
|
||||
->default()
|
||||
->id('panel')
|
||||
->path('panel')
|
||||
->login()
|
||||
->login(Login::class)
|
||||
->registration()
|
||||
->colors([
|
||||
'primary' => Color::Amber,
|
||||
|
||||
Reference in New Issue
Block a user