added marking to user table

added marking on registration
This commit is contained in:
Jack Goh
2018-07-05 17:56:49 +08:00
parent 9a257257fb
commit 503e3aec5b
2 changed files with 32 additions and 0 deletions
@@ -78,6 +78,7 @@ class RegisterController extends Controller
$user = new User();
$user->name = $data['name'];
$user->email = $data['email'];
$user->marking = $marking->marking;
$user->password = bcrypt($data['password']);
$user->save();