Merge pull request #3782 from cargosoft/master

KEYCLOAK-4270 Custom login protocol doesn't show when creating a client
This commit is contained in:
Stan Silvert 2017-02-13 07:58:21 -05:00 committed by GitHub
commit 224f93f25d

View file

@ -1229,8 +1229,7 @@ module.controller('ClientDetailCtrl', function($scope, realm, client, templates,
});
module.controller('CreateClientCtrl', function($scope, realm, client, templates, $route, serverInfo, Client, ClientDescriptionConverter, $location, $modal, Dialog, Notifications) {
$scope.protocols = ['openid-connect',
'saml'];//Object.keys(serverInfo.providers['login-protocol'].providers).sort();
$scope.protocols = Object.keys(serverInfo.providers['login-protocol'].providers).sort();
$scope.create = true;
$scope.templates = [ {name:'NONE'}];
var templateNameMap = new Object();