Skip to content

Commit

Permalink
Seeded users should be verified by default
Browse files Browse the repository at this point in the history
the email_verified_at column value is used to determine whether a user has verified her account.
  • Loading branch information
gauravmak authored Sep 15, 2018
1 parent c25f6c4 commit 62c5bbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/factories/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
];
Expand Down

0 comments on commit 62c5bbf

Please sign in to comment.