mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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 {
|
||||
$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.'),
|
||||
],
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue