]> BookStack Code Mirror - bookstack/blobdiff - app/Services/SocialAuthService.php
Updated readme with social & update instructions
[bookstack] / app / Services / SocialAuthService.php
index c96446ddf67e4c519e0b48b57e2ce8e48685b54d..15fd1c6a2546eba367230ad830cab568b763dbd4 100644 (file)
@@ -129,7 +129,7 @@ class SocialAuthService
         // When a user is logged in, A social account exists but the users do not match.
         // Change the user that the social account is assigned to.
         if ($isLoggedIn && $socialAccount !== null && $socialAccount->user->id != $currentUser->id) {
-            \Session::flash('success', 'This ' . title_case($socialDriver) . ' account is already used buy another user.');
+            \Session::flash('success', 'This ' . title_case($socialDriver) . ' account is already used by another user.');
             return redirect($currentUser->getEditUrl());
         }