Merge pull request #2082 from Sweazer/client-ui-fix

Client UI fix
This commit is contained in:
Bill Burke 2016-01-21 10:18:56 -05:00
commit 0df651cc0c

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