mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-22 08:56:39 -06:00
Do not email about OAuth exceptions.
This commit is contained in:
parent
747602a9cb
commit
746bd2ce92
@ -121,7 +121,7 @@ class Handler extends ExceptionHandler
|
||||
// if the user wants us to mail:
|
||||
if (true === $doMailError
|
||||
// and if is one of these error instances
|
||||
&& ($exception instanceof FireflyException || $exception instanceof ErrorException || $exception instanceof OAuthServerException)) {
|
||||
&& ($exception instanceof FireflyException || $exception instanceof ErrorException)) {
|
||||
$userData = [
|
||||
'id' => 0,
|
||||
'email' => 'unknown@example.com',
|
||||
|
Loading…
Reference in New Issue
Block a user