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:
parent
7a20dc5c12
commit
2da91729b3
@ -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();
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ trait SendsEmails
|
||||
|
||||
public function getFromEmail()
|
||||
{
|
||||
if ( ! $this->isPro() || ! Utils::isNinja()) {
|
||||
if ( ! $this->isPro() || ! Utils::isNinjaProd() || Utils::isReseller()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user