1
0
Fork 0

app/Http/Controllers/ProfileController.php: Save character_id on update.

This commit is contained in:
Henrik Hautakoski 2021-07-22 18:27:20 +02:00
parent 15808597c2
commit 0fef5c77d0

View file

@ -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();