]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/StoppedAuthenticationException.php
Fixes for CodeStyle vol.2
[bookstack] / app / Exceptions / StoppedAuthenticationException.php
index 7a978ffc61428ad6015dbc7d8170b8a2eac34b89..ef7f24017904f1f85f39f5de26fa528ef479184e 100644 (file)
@@ -9,7 +9,6 @@ use Illuminate\Http\Request;
 
 class StoppedAuthenticationException extends \Exception implements Responsable
 {
-
     protected $user;
     protected $loginService;
 
@@ -50,7 +49,7 @@ class StoppedAuthenticationException extends \Exception implements Responsable
         if ($request->wantsJson()) {
             return response()->json([
                 'error' => [
-                    'code' => 401,
+                    'code'    => 401,
                     'message' => trans('errors.email_confirmation_awaiting'),
                 ],
             ], 401);
@@ -62,4 +61,4 @@ class StoppedAuthenticationException extends \Exception implements Responsable
 
         return redirect('/register/confirm/awaiting');
     }
-}
\ No newline at end of file
+}