]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/UserInviteController.php
consistent of book translation
[bookstack] / app / Http / Controllers / Auth / UserInviteController.php
index 313faf5bc12cd656232bde005c2659c6d3ac0745..c361b0a9b43687101e577db4f3e46f55b86ba397 100644 (file)
@@ -77,7 +77,7 @@ class UserInviteController extends Controller
         $user->save();
 
         auth()->login($user);
-        $this->showSuccessNotification( trans('auth.user_invite_success', ['appName' => setting('app-name')]));
+        $this->showSuccessNotification(trans('auth.user_invite_success', ['appName' => setting('app-name')]));
         $this->inviteService->deleteByUser($user);
 
         return redirect('/');
@@ -96,7 +96,7 @@ class UserInviteController extends Controller
         }
 
         if ($exception instanceof UserTokenExpiredException) {
-            $this->showErrorNotification( trans('errors.invite_token_expired'));
+            $this->showErrorNotification(trans('errors.invite_token_expired'));
             return redirect('/password/email');
         }