|
@@ -29,7 +29,7 @@ class Registrar implements RegistrarContract {
|
|
*/
|
|
*/
|
|
public function create(array $data)
|
|
public function create(array $data)
|
|
{
|
|
{
|
|
- return User::forceCreate([
|
|
|
|
|
|
+ return User::create([
|
|
'name' => $data['name'],
|
|
'name' => $data['name'],
|
|
'email' => $data['email'],
|
|
'email' => $data['email'],
|
|
'password' => bcrypt($data['password']),
|
|
'password' => bcrypt($data['password']),
|