Added debugging

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-05-10 01:47:52 -07:00
parent e5eb5932ca
commit 567a800c51

View file

@ -33,12 +33,13 @@ class GoogleAuthController extends Controller
{ {
try { try {
$socialUser = Socialite::driver('google')->user(); $socialUser = Socialite::driver('google')->user();
\Log::debug('Social user found');
} catch (InvalidStateException $exception) { } catch (InvalidStateException $exception) {
\Log::debug('Social user found');
return redirect()->route('login') return redirect()->route('login')
->withErrors( ->withErrors(
[ [
'email' => [ 'username' => [
__('Google Login failed, please try again.'), __('Google Login failed, please try again.'),
], ],
] ]