Correcion Login
This commit is contained in:
parent
53f4bc74be
commit
c0cfefc002
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user