mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added debugging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e5eb5932ca
commit
567a800c51
|
@ -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.'),
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue