Commit 5838bf37 by hfpp2012 yinsigan

user setter

1 parent 2ed6348d
...@@ -65,7 +65,7 @@ class RegisterController extends Controller ...@@ -65,7 +65,7 @@ class RegisterController extends Controller
return User::create([ return User::create([
'name' => $data['name'], 'name' => $data['name'],
'email' => $data['email'], 'email' => $data['email'],
'password' => bcrypt($data['password']), 'password' => $data['password'],
]); ]);
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!