From c72661a87fb8e3e892f2244a0c9478123598b3c5 Mon Sep 17 00:00:00 2001 From: sayali Date: Tue, 6 Oct 2020 18:50:37 -0700 Subject: [PATCH] Removing hardcoded name --- lemur/static/app/angular/authorities/authority/authority.js | 3 +-- .../angular/authorities/authority/distinguishedName.tpl.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lemur/static/app/angular/authorities/authority/authority.js b/lemur/static/app/angular/authorities/authority/authority.js index 4868709b..a449cff5 100644 --- a/lemur/static/app/angular/authorities/authority/authority.js +++ b/lemur/static/app/angular/authorities/authority/authority.js @@ -125,8 +125,7 @@ angular.module('lemur') }; $scope.populateSubjectEmail = function () { - if($scope.authority.plugin.title.toLowerCase() === 'cloudca') - $scope.authority.email = $scope.authority.owner; + $scope.authority.email = $scope.authority.owner; }; }); diff --git a/lemur/static/app/angular/authorities/authority/distinguishedName.tpl.html b/lemur/static/app/angular/authorities/authority/distinguishedName.tpl.html index ca3e1391..1303f200 100644 --- a/lemur/static/app/angular/authorities/authority/distinguishedName.tpl.html +++ b/lemur/static/app/angular/authorities/authority/distinguishedName.tpl.html @@ -49,7 +49,7 @@ -