KEYCLOAK-1941

This commit is contained in:
Bill Burke 2015-10-15 20:26:20 -04:00
parent 14426f26f2
commit 1e4b3fc3b6

View file

@ -779,7 +779,7 @@ module.controller('ClientDetailCtrl', function($scope, realm, client, $route, se
} else if ($scope.client.attributes['saml.signature.algorithm'] == 'DSA_SHA1') { } else if ($scope.client.attributes['saml.signature.algorithm'] == 'DSA_SHA1') {
$scope.signatureAlgorithm = $scope.signatureAlgorithms[3]; $scope.signatureAlgorithm = $scope.signatureAlgorithms[3];
} }
if ($scope.client.attributes['saml_name_id_format'] == 'unspecified') { if ($scope.client.attributes['saml_name_id_format'] == 'username') {
$scope.nameIdFormat = $scope.nameIdFormats[0]; $scope.nameIdFormat = $scope.nameIdFormats[0];
} else if ($scope.client.attributes['saml_name_id_format'] == 'email') { } else if ($scope.client.attributes['saml_name_id_format'] == 'email') {
$scope.nameIdFormat = $scope.nameIdFormats[1]; $scope.nameIdFormat = $scope.nameIdFormats[1];