Requirements update

This commit is contained in:
Curtis Castrapel
2018-05-25 11:07:26 -07:00
parent de52fa7f48
commit b0f9d33b32
8 changed files with 37 additions and 20 deletions

View File

@ -258,6 +258,11 @@ angular.module('lemur')
opened: false
};
CertificateService.getDnsProviders().then(function (providers) {
$scope.dnsProviders = providers;
}
);
$scope.clearDates = function () {
$scope.certificate.validityStart = null;
$scope.certificate.validityEnd = null;

View File

@ -243,6 +243,10 @@ angular.module('lemur')
certificate.authority = defaults.authority;
}
}
if (certificate.dnsProviderId) {
certificate.dnsProvider = {id: certificate.dnsProviderId};
}
});
};