Change recipient of cancelled email

This commit is contained in:
Hillel Coren 2017-03-07 10:27:42 +02:00
parent cc22a8b150
commit 1fd6cabd6b

View File

@ -1343,7 +1343,7 @@ class AccountController extends BaseController
$subject = 'Invoice Ninja - Canceled Account';
$this->userMailer->sendTo(CONTACT_EMAIL, $email, $name, $subject, 'contact', $data);
$this->userMailer->sendTo(env('CONTACT_EMAIL', CONTACT_EMAIL), $email, $name, $subject, 'contact', $data);
}
$user = Auth::user();