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 {
$socialUser = Socialite::driver('google')->user();
\Log::debug('Social user found');
} catch (InvalidStateException $exception) {
\Log::debug('Social user found');
return redirect()->route('login')
->withErrors(
[
'email' => [
'username' => [
__('Google Login failed, please try again.'),
],
]