1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Enable sending emails from alternate domain

This commit is contained in:
Hillel Coren 2017-01-12 22:25:01 +02:00
parent 7a20dc5c12
commit 2da91729b3
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class Invitation extends EntityModel
$url = trim(SITE_URL, '/');
if ($account->hasFeature(FEATURE_CUSTOM_URL)) {
if (Utils::isNinja()) {
if (Utils::isNinjaProd()) {
$url = $account->present()->clientPortalLink();
}

View File

@ -15,7 +15,7 @@ trait SendsEmails
public function getFromEmail()
{
if ( ! $this->isPro() || ! Utils::isNinja()) {
if ( ! $this->isPro() || ! Utils::isNinjaProd() || Utils::isReseller()) {
return false;
}