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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
return [
'name' => $faker->name,
'email' => $faker->unique()->safeEmail,
'email_verified_at' => now(),
'password' => '$2y$10$TKh8H1.PfQx37YgCzwiKb.KjNyWgaHb9cbcoQgdIVFlYg7B77UdFm', // secret
'remember_token' => str_random(10),
];