Membuat akun SuperAdmin

This commit is contained in:
2026-06-05 15:39:38 +07:00
parent 35b18f69c7
commit dfff1f18e9
6 changed files with 61 additions and 7 deletions
+1
View File
@@ -29,6 +29,7 @@ class UserFactory extends Factory
'email' => fake()->unique()->safeEmail(),
'email_verified_at' => now(),
'password' => static::$password ??= Hash::make('password'),
'role' => 'user',
'remember_token' => Str::random(10),
];
}