KEYCLOAK-1255

This commit is contained in:
Stian Thorgersen 2015-05-05 06:48:01 +02:00
parent 997ede06fb
commit 2de0748e95

View file

@ -677,7 +677,7 @@ module.controller('ClientDetailCtrl', function($scope, realm, client, $route, se
$scope.changeProtocol = function() { $scope.changeProtocol = function() {
if ($scope.protocol == "openid-connect") { if ($scope.protocol == "openid-connect") {
$scope.client.protocol = "openid-connect"; $scope.client.protocol = "openid-connect";
} else if ($scope.accessType == "saml") { } else if ($scope.protocol == "saml") {
$scope.client.protocol = "saml"; $scope.client.protocol = "saml";
} }
}; };