KEYCLOAK-4270 Custom login protocol doesn't show when creating a client

This commit is contained in:
Dmitry Telegin committed 2017-01-21 01:46:34 +03:00
1 parent 6097a0c9e1
commit 5bacd2919d
1 file changed
+1 -2
@@ -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();