mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Will inform about the logged in user
This commit is contained in:
@@ -12,6 +12,7 @@ use Log;
|
||||
use Mail;
|
||||
use Swift_TransportException;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||
use Auth;
|
||||
|
||||
/**
|
||||
* Class Handler
|
||||
@@ -57,6 +58,8 @@ class Handler extends ExceptionHandler
|
||||
'file' => $exception->getFile(),
|
||||
'line' => $exception->getLine(),
|
||||
'code' => $exception->getCode(),
|
||||
'loggedIn' => Auth::check(),
|
||||
'user' => Auth::user(),
|
||||
];
|
||||
|
||||
Mail::send(
|
||||
|
Reference in New Issue
Block a user