class StoppedAuthenticationException extends \Exception implements Responsable
{
-
protected $user;
protected $loginService;
if ($request->wantsJson()) {
return response()->json([
'error' => [
- 'code' => 401,
+ 'code' => 401,
'message' => trans('errors.email_confirmation_awaiting'),
],
], 401);
return redirect('/register/confirm/awaiting');
}
-}
\ No newline at end of file
+}