Merge pull request #2481 from stianst/KEYCLOAK-2742

KEYCLOAK-2742
This commit is contained in:
Bill Burke 2016-04-04 12:54:22 -04:00
commit 72299b4844

View file

@ -1873,7 +1873,7 @@ module.controller('ClientTemplateProtocolMapperListCtrl', function($scope, realm
});
module.controller('ClientTemplateProtocolMapperCtrl', function($scope, realm, serverInfo, template, mapper, ClientTemplateProtocolMapper, Notifications, Dialog, $location) {
$scope.realm = realm;
if (template.protocol == null) {
template.protocol = 'openid-connect';
}
@ -1940,6 +1940,7 @@ module.controller('ClientTemplateProtocolMapperCtrl', function($scope, realm, se
});
module.controller('ClientTemplateProtocolMapperCreateCtrl', function($scope, realm, serverInfo, template, ClientTemplateProtocolMapper, Notifications, Dialog, $location) {
$scope.realm = realm;
if (template.protocol == null) {
template.protocol = 'openid-connect';
}