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

index c6701e1fe5752b84c6b18adf4c24958021bfad80..313d262310f442571b2da75d3fc0a50d7c842932 100644 (file)
@@ -19,11 +19,11 @@ class CubistSocialiteAuthServiceProvider extends AuthServiceProvider
         $this->registerPolicies();
 
         Auth::viaRequest('socialitegoogle', function (Request $request) {
-            try {
-                $user= User::fromProvider('google');
-            } catch (\Exception $e) {
-                return null;
-            }
+//            try {
+//                $user= User::fromProvider('google');
+//            } catch (\Exception $e) {
+//                return null;
+//            }
         });
     }
 }
\ No newline at end of file