Modified cert description to have cert id being cloned

This commit is contained in:
sayali 2020-08-03 19:24:06 -07:00 committed by Hossein Shafagh
parent e75e472a1a
commit 404d213e8f
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ angular.module('lemur')
$scope.certificate.validityStart = null;
$scope.certificate.validityEnd = null;
$scope.certificate.keyType = 'RSA2048'; // default algo to show during clone
$scope.certificate.description = 'Cloning from cert ID ' + editId;
$scope.certificate.replacedBy = []; // should not clone 'replaced by' info
$scope.certificate.removeReplaces(); // should not clone 'replacement cert' info
CertificateService.getDefaults($scope.certificate);