Set fillable array.
This commit is contained in:
@@ -29,7 +29,7 @@ class Registrar implements RegistrarContract {
|
||||
*/
|
||||
public function create(array $data)
|
||||
{
|
||||
return User::forceCreate([
|
||||
return User::create([
|
||||
'name' => $data['name'],
|
||||
'email' => $data['email'],
|
||||
'password' => bcrypt($data['password']),
|
||||
|
||||
Reference in New Issue
Block a user