Correcion Login

This commit is contained in:
cgonzalesmo 2022-08-24 11:56:57 -05:00
parent 53f4bc74be
commit c0cfefc002

View File

@ -64,7 +64,7 @@ public function handleProviderCallback($provider){
$token = $userCreated->createToken('token-auth_token')->plainTextToken; $token = $userCreated->createToken('token-auth_token')->plainTextToken;
return response()->json([ return response()->json([
"message" => "Usuario logueado", "message" => "Usuario logueado",
"user" => $userCreated,s "user" => $userCreated,
"image" => $userProvider->getAvatar(), "image" => $userProvider->getAvatar(),
"access_token" => $token "access_token" => $token