From 0fef5c77d04b23d0cdfdca7109af6a8d20b0e44d Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 22 Jul 2021 18:27:20 +0200 Subject: [PATCH] app/Http/Controllers/ProfileController.php: Save character_id on update. --- app/Http/Controllers/ProfileController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 136bd7e..2ed75cc 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -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();