From b23ea18c89f24abb89a80d494165125761580560 Mon Sep 17 00:00:00 2001 From: Moritz Becker Date: Wed, 20 Jan 2016 01:09:07 +0100 Subject: [PATCH] client UI fix --- .../base/admin/resources/js/controllers/clients.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js b/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js index aac6a55101..6694c87161 100755 --- a/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js @@ -738,8 +738,7 @@ module.controller('ClientDetailCtrl', function($scope, realm, client, templates, "bearer-only" ]; - $scope.protocols = ['openid-connect', - 'saml'];//Object.keys(serverInfo.providers['login-protocol'].providers).sort(); + $scope.protocols = Object.keys(serverInfo.providers['login-protocol'].providers).sort(); $scope.templates = [ {name:'NONE'}]; for (var i = 0; i < templates.length; i++) { @@ -2124,11 +2123,4 @@ module.controller('ClientTemplateScopeMappingCtrl', function($scope, $http, real }; updateTemplateRealmRoles(); -}); - - - - - - - +}); \ No newline at end of file