Show email settings for non-caas
This is because people can use route53/DO now and we can show them the RDNS settings as well.
This commit is contained in:
@@ -74,12 +74,12 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
|
||||
Client.getDnsConfig(function (error, result) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
if (result.provider !== 'manual' && result.provider !== 'noop') return;
|
||||
if (result.provider === 'caas') return;
|
||||
|
||||
Client.getExpectedDnsRecords(function (error, result) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
if (!result.spf.status || !result.dkim.status) {
|
||||
if (!result.spf.status || !result.dkim.status || !result.ptr.status) {
|
||||
var actionScope = $scope.$new(true);
|
||||
actionScope.action = '/#/settings';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user