]> _ Git - cubist_socialite.git/commitdiff
wip #4765
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Oct 2021 18:54:44 +0000 (20:54 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Oct 2021 18:54:44 +0000 (20:54 +0200)
composer.lock
src/Http/Controllers/SocialiteController.php

index 912a608b184444c68640c7094d49085a1b21f4c9..9cdb1fb5d4e92f6e5a1ac8c2c610bd0d91a5f801 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "b5627ef75c3d7f5c85d299dda6125fff",
+    "content-hash": "869d495d305b080f93990b20b45e8ba5",
     "packages": [
         {
             "name": "brick/math",
index 420ba6574f3d35e88bab5cd0c84f7fa9b0e65b98..258b0440dd891e2461a4d610fdabe9cbc3f918ed 100644 (file)
@@ -29,13 +29,6 @@ class SocialiteController extends Controller
 
     public function callback()
     {
-        $provider = request()->provider;
-        if (in_array($provider, $this->providers)) {
-            $socialiteUser=Socialite::driver($provider)->user();
-            if($socialiteUser) {
-                Auth::login(new User($socialiteUser),true);
-            }
-        }
-        abort(403);
+
     }
 }
\ No newline at end of file