minor
This commit is contained in:
parent
27c3cd5d8d
commit
72b1bbc0e7
@ -38,7 +38,7 @@ class User extends Authenticatable implements FilamentUser
|
||||
use HasProfilePhoto;
|
||||
use HasRoles;
|
||||
use Notifiable;
|
||||
use TwoFactorAuthenticatable;
|
||||
// use TwoFactorAuthenticatable;
|
||||
|
||||
public array $info = [];
|
||||
|
||||
|
@ -15,9 +15,9 @@ public function run(): void
|
||||
// User::factory(10)->create();
|
||||
|
||||
$usr = User::factory()->create([
|
||||
'first_name' => 'PACS Sync',
|
||||
'display_name' => 'PACS Sync Agent',
|
||||
'username' => '$$_pacs_sync_$$',
|
||||
'first_name' => 'PACS Agent',
|
||||
'display_name' => 'PACS Agent',
|
||||
'username' => '$$_pacs_agent_$$',
|
||||
'password' => bcrypt(fake()->password(20)),
|
||||
'is_active' => false,
|
||||
]);
|
||||
@ -30,6 +30,7 @@ public function run(): void
|
||||
'email' => 'admin@example.com',
|
||||
'email_verified_at' => now(),
|
||||
'phone' => '+8801733938582',
|
||||
'is_active' => true,
|
||||
]);
|
||||
$usr->assignRole(Role::Admin);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user