Skip to content

Commit

Permalink
Forgot to save :)))
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed May 25, 2022
1 parent 1e2ec79 commit 0af389d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ protected function completeLogin($resourceOwner, $token)
$account = User::updateOrCreate(
['id' => $resourceOwner->data->cid],
['email' => $resourceOwner->data->personal->email,
'first_name' => ucfirst(mb_convert_encoding($resourceOwner->data->personal->name_first)),
'last_name' => ucfirst(mb_convert_encoding($resourceOwner->data->personal->name_last)),
'first_name' => ucfirst(mb_convert_encoding($resourceOwner->data->personal->name_first, "UTF-8")),
'last_name' => ucfirst(mb_convert_encoding($resourceOwner->data->personal->name_last, "UTF-8")),
'rating' => $resourceOwner->data->vatsim->rating->id,
'rating_short' => $resourceOwner->data->vatsim->rating->short,
'rating_long' => $resourceOwner->data->vatsim->rating->long,
Expand Down

0 comments on commit 0af389d

Please sign in to comment.