1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Apply fixes from StyleCI

This commit is contained in:
Dan Brown
2021-08-21 14:49:40 +00:00
committed by StyleCI Bot
parent cac31b2074
commit 64785ed9da
31 changed files with 173 additions and 161 deletions

View 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');
}
}
}