Seeded users should be verified by default

the email_verified_at column value is used to determine whether a user has verified her account.
This commit is contained in:
Gaurav Makhecha
2018-09-15 10:14:06 +05:30
committed by GitHub
parent c25f6c4e61
commit 62c5bbf820

View File

@@ -17,6 +17,7 @@ $factory->define(App\User::class, function (Faker $faker) {
return [
'name' => $faker->name,
'email' => $faker->unique()->safeEmail,
'email_verified_at' => now(),
'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret
'remember_token' => str_random(10),
];