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