Corregir login google

This commit is contained in:
cgonzalesmo 2022-10-21 18:12:39 -05:00
parent 07db23de0c
commit e7a78d8b68

View File

@ -41,7 +41,7 @@ public function handleProviderCallback($provider)
$user = $user = User::where("email", "=", $userProvider->email)->first();
if (isset($user)) {
$userCreated = User::firstOrCreate(
$userCreated = User::updateOrCreate(
[
'email' => $userProvider->email
],