X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/39a205ed28f2dcfbab7e34fd231fe97b0e57df83..refs/pull/2902/head:/app/Exceptions/StoppedAuthenticationException.php diff --git a/app/Exceptions/StoppedAuthenticationException.php b/app/Exceptions/StoppedAuthenticationException.php index 7a978ffc6..ef7f24017 100644 --- a/app/Exceptions/StoppedAuthenticationException.php +++ b/app/Exceptions/StoppedAuthenticationException.php @@ -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 +}