]> _ Git - cubist_socialite.git/commitdiff
wip #4765
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 8 Oct 2021 16:53:31 +0000 (18:53 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 8 Oct 2021 16:53:31 +0000 (18:53 +0200)
src/CubistSocialiteAuthServiceProvider.php

index c6701e1fe5752b84c6b18adf4c24958021bfad80..7a25c2a549eabadb9a6680b75a967f30fd961d82 100644 (file)
@@ -21,6 +21,8 @@ class CubistSocialiteAuthServiceProvider extends AuthServiceProvider
         Auth::viaRequest('socialitegoogle', function (Request $request) {
             try {
                 $user= User::fromProvider('google');
+                debug('viarequest/socialitegoogle',$user);
+                return $user;
             } catch (\Exception $e) {
                 return null;
             }