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

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