Merge pull request #270 from kevgliss/248

Closes #248
This commit is contained in:
kevgliss 2016-04-01 14:28:52 -07:00
commit b5a4b293a9
1 changed files with 18 additions and 17 deletions

View File

@ -110,6 +110,7 @@ angular.module('lemur')
CertificateService.create = function (certificate) {
certificate.attachSubAltName();
certificate.attachCustom();
// Help users who may have just typed in their authority
if (!certificate.authority) {
AuthorityService.findActiveAuthorityByName(certificate.selectedAuthority).then(function (authorities) {