From 95bdaf4e2e920282b97a4682591f97d564f34502 Mon Sep 17 00:00:00 2001 From: Pushpak Chhajed Date: Tue, 18 Nov 2025 10:52:28 +0530 Subject: [PATCH] Disable two-factor authentication for test user in DatabaseSeeder --- database/seeders/DatabaseSeeder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index d01a0ef2..39d66f93 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -15,7 +15,7 @@ public function run(): void { // User::factory(10)->create(); - User::factory()->create([ + User::factory()->withoutTwoFactor()->create([ 'name' => 'Test User', 'email' => 'test@example.com', ]);