Final code for 5.3.3

This commit is contained in:
James Cole
2021-04-03 18:48:21 +02:00
parent 70a6ac0038
commit a3091f7509
21 changed files with 61 additions and 37 deletions

View File

@@ -72,11 +72,12 @@ class MailError extends Job implements ShouldQueue
*/
public function handle()
{
$email = config('firefly.site_owner');
$args = $this->exception;
$args['loggedIn'] = $this->userData['id'] > 0;
$args['user'] = $this->userData;
$args['ipAddress'] = $this->ipAddress;
$email = config('firefly.site_owner');
$args = $this->exception;
$args['loggedIn'] = $this->userData['id'] > 0;
$args['user'] = $this->userData;
$args['ip'] = $this->ipAddress;
$args['token'] = config('firefly.ipinfo_token');
if ($this->attempts() < 3) {
try {
Mail::send(