]> BookStack Code Mirror - bookstack/blobdiff - app/Services/SocialAuthService.php
Fixes typo causing the message not to be displayed
[bookstack] / app / Services / SocialAuthService.php
index fe554b8d7e7b938f1ed3282f47db4771fb8b161a..5edd4cad76a9c361a1a88a17971069551c049780 100644 (file)
@@ -98,7 +98,6 @@ class SocialAuthService
 
         // Get any attached social accounts or users
         $socialAccount = $this->socialAccount->where('driver_id', '=', $socialId)->first();
-        $user = $this->userRepo->getByEmail($socialUser->getEmail());
         $isLoggedIn = auth()->check();
         $currentUser = user();