mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Do not email about OAuth exceptions.
This commit is contained in:
@@ -121,7 +121,7 @@ class Handler extends ExceptionHandler
|
|||||||
// if the user wants us to mail:
|
// if the user wants us to mail:
|
||||||
if (true === $doMailError
|
if (true === $doMailError
|
||||||
// and if is one of these error instances
|
// and if is one of these error instances
|
||||||
&& ($exception instanceof FireflyException || $exception instanceof ErrorException || $exception instanceof OAuthServerException)) {
|
&& ($exception instanceof FireflyException || $exception instanceof ErrorException)) {
|
||||||
$userData = [
|
$userData = [
|
||||||
'id' => 0,
|
'id' => 0,
|
||||||
'email' => 'unknown@example.com',
|
'email' => 'unknown@example.com',
|
||||||
|
Reference in New Issue
Block a user