Merge pull request #3456 from sileence/bcrypt_password_factory

Using the bcrypt function in users generated by the model factory
This commit is contained in:
Taylor Otwell 2015-07-13 20:40:02 -05:00
commit 5964dcf97a
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
return [ return [
'name' => $faker->name, 'name' => $faker->name,
'email' => $faker->email, 'email' => $faker->email,
'password' => str_random(10), 'password' => bcrypt(str_random(10)),
'remember_token' => str_random(10), 'remember_token' => str_random(10),
]; ];
}); });