]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/SocialAuthService.php
Reverted shift change to old migration
[bookstack] / app / Auth / Access / SocialAuthService.php
index 8cf243fe78eafa6aeedd0b2694bdbb42ff7cf690..d165e76b121bbe2b6f5064c1b844906272d04f99 100644 (file)
@@ -141,7 +141,7 @@ class SocialAuthService
         // When a user is not logged in and a matching SocialAccount exists,
         // Simply log the user into the application.
         if (!$isLoggedIn && $socialAccount !== null) {
-            $this->loginService->login($socialAccount->user, $socialAccount);
+            $this->loginService->login($socialAccount->user, $socialDriver);
 
             return redirect()->intended('/');
         }