Use 12 bcrypt rounds for password in UserFactory (#6247)

This commit is contained in:
Julius Kiekbusch
2023-09-22 20:03:48 +02:00
committed by GitHub
parent 540cec038f
commit 8e5f0e5d00

View File

@@ -21,7 +21,7 @@ class UserFactory extends Factory
'name' => fake()->name(), 'name' => fake()->name(),
'email' => fake()->unique()->safeEmail(), 'email' => fake()->unique()->safeEmail(),
'email_verified_at' => now(), 'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 'password' => '$2y$12$Z/vhVO3e.UXKaG11EWgxc.EL7uej3Pi1M0Pq0orF5cbFGtyVh0V3C', // password
'remember_token' => Str::random(10), 'remember_token' => Str::random(10),
]; ];
} }