app/Http/Controllers/ProfileController.php: Save character_id on update.
This commit is contained in:
parent
15808597c2
commit
0fef5c77d0
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ class ProfileController extends Controller
|
|||
|
||||
$user = $request->user();
|
||||
$user->username = $data['username'];
|
||||
$user->character_id = $data['character_id'];
|
||||
$user->password = Hash::make($data['password']);
|
||||
$user->save();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue