Show warning when sendmail is disabled for a domain
This commit is contained in:
@@ -436,8 +436,13 @@
|
||||
<select class="form-control" style="width: 50%;" ng-model="mailRelay.preset" ng-options="a.name for a in mailRelayPresets track by a.provider" ng-change="mailRelay.presetChanged()"></select>
|
||||
</div>
|
||||
|
||||
<p class="small text-danger" ng-show="mailRelay.preset.provider === 'noop' && selectedDomain.domain === config.adminDomain">
|
||||
Cloudron cannot send user invites, password reset and other notifications when email is disabled on the primary domain
|
||||
<p class="small text-danger" ng-show="mailRelay.preset.provider === 'noop'">
|
||||
<span ng-if="selectedDomain.domain === config.adminDomain">
|
||||
Cloudron cannot send user invites, password reset and other notifications when email is disabled on the primary domain
|
||||
</span>
|
||||
<span ng-if="selectedDomain.domain !== config.adminDomain">
|
||||
Cloudron cannot email for apps hosted under this domain when email is disabled
|
||||
</span>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user