Using the bcrypt function in users generated by the model factory

This commit is contained in:
Duilio Palacios 2015-07-13 16:05:37 +00:00
parent e3f18ea5f6
commit 83ffbc65d1
1 changed files with 1 additions and 1 deletions

View File

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