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

index ecf024c44c6f6a37d42217405c5687c96c3d1b8b..d344bec13105cab67371f1b4a5d6a2f5d4634e63 100644 (file)
@@ -34,7 +34,8 @@ class SocialiteController extends Controller
         if (in_array($provider, $this->providers, true)) {
             $user = User::fromProvider($provider);
             if ($user) {
-                redirect('/test');
+
+                return redi('/test');
             }
         }
     }