From 1e4b3fc3b6234d48be5a096390864ae86e438d30 Mon Sep 17 00:00:00 2001 From: Bill Burke Date: Thu, 15 Oct 2015 20:26:20 -0400 Subject: [PATCH] KEYCLOAK-1941 --- .../theme/base/admin/resources/js/controllers/clients.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js index 27a97941ea..e35e1c62d2 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js @@ -779,7 +779,7 @@ module.controller('ClientDetailCtrl', function($scope, realm, client, $route, se } else if ($scope.client.attributes['saml.signature.algorithm'] == 'DSA_SHA1') { $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]; } else if ($scope.client.attributes['saml_name_id_format'] == 'email') { $scope.nameIdFormat = $scope.nameIdFormats[1];