Skip to content

Commit

Permalink
Merge pull request #87 from jeremykenedy/analysis-6VMDdP
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
jeremykenedy authored Dec 16, 2022
2 parents fc17740 + 9cc6484 commit dbf70e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Traits/SocialiteProvidersTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ protected function findOrCreateUser(string $provider, SocialiteUser $user, strin
$existingUser = User::whereEmail($user->getEmail())->first();
}

if(!$existingUser) {
if (! $existingUser) {
$existingUser = auth('sanctum')->user();
}

Expand Down

0 comments on commit dbf70e8

Please sign in to comment.