Correcion loginController v3
This commit is contained in:
parent
3b2a798afe
commit
6ee8e49b60
@ -33,7 +33,7 @@ public function handleProviderCallback($provider)
|
||||
}
|
||||
|
||||
try {
|
||||
$userProvider = Socialite::driver($provider)->user();
|
||||
$userProvider = Socialite::driver($provider)->stateless()->user();
|
||||
} catch (ClientException $exception) {
|
||||
return response()->json(['error' => 'Credenciales de google invalidas.'], 422);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user