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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ class UserFactory extends Factory
'name' => fake()->name(),
'email' => fake()->unique()->safeEmail(),
'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),
];
}