Merge pull request #3298 from ssilvert/blanks-in-dropdown
KEYCLOAK-3673: Blank items in IDP's Post Login Flow selector
This commit is contained in:
commit
6acd9cdf1d
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue