client UI fix

This commit is contained in:
Moritz Becker 2016-01-20 01:09:07 +01:00
parent f5db03d6e9
commit b23ea18c89

View file

@ -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++) {
@ -2125,10 +2124,3 @@ module.controller('ClientTemplateScopeMappingCtrl', function($scope, $http, real
updateTemplateRealmRoles();
});