Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Don't report authentication exceptions.
James Cole955cde3ed910
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex 59b59b8bdd..6a72b8ab29 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -133,18 +133,13 @@ class Handler extends ExceptionHandlerif (// if the user wants us to mail:$doMailError === true- && ((- // and if is one of these error instances- $exception instanceof FireflyException- || $exception instanceof ErrorException- || $exception instanceof OAuthServerException-- )- || (- // or this one, but it's a JSON exception.- $exception instanceof AuthenticationException- && Request::expectsJson() === true- ))+ && (+ // and if is one of these error instances+ $exception instanceof FireflyException+ || $exception instanceof ErrorException+ || $exception instanceof OAuthServerException++ )) {// then, send email$userData = [