Set default password to 'password'

This commit is contained in:
Quentin T'JAMPENS
2025-10-27 23:06:33 +01:00
parent 41cf8a5a44
commit 294c3581f9
+1 -1
View File
@@ -27,7 +27,7 @@ class UserFactory extends Factory
'name' => fake()->name(),
'lastname' => fake()->lastname(),
'email' => fake()->unique()->safeEmail(),
'password' => static::$password ??= Hash::make('password'),
'password' => Hash::make('password'),
'remember_token' => Str::random(10),
'validate' => rand(0, 1),
'role' => rand(2, 5)