KEYCLOAK-3673: Blank items in IDP's Post Login Flow selector

This commit is contained in:
Stan Silvert 2016-10-06 17:43:13 -04:00
parent 42e93742fa
commit 68ca1849bf

View file

@ -817,6 +817,10 @@ module.controller('RealmIdentityProviderCtrl', function($scope, $filter, $upload
$scope.postBrokerAuthFlows.push($scope.authFlows[i]);
}
if (!$scope.identityProvider.postBrokerLoginFlowAlias) {
$scope.identityProvider.postBrokerLoginFlowAlias = $scope.postBrokerAuthFlows[0].alias;
}
$scope.$watch(function() {
return $location.path();
}, function() {