Update users.js
This commit is contained in:
parent
7d444c8b13
commit
6592014707
1 changed files with 3 additions and 0 deletions
|
@ -596,6 +596,9 @@ module.controller('UserFederationCtrl', function($scope, $location, $route, real
|
||||||
console.log('UserFederationCtrl ++++****');
|
console.log('UserFederationCtrl ++++****');
|
||||||
$scope.realm = realm;
|
$scope.realm = realm;
|
||||||
$scope.providers = serverInfo.componentTypes['org.keycloak.storage.UserStorageProvider'];
|
$scope.providers = serverInfo.componentTypes['org.keycloak.storage.UserStorageProvider'];
|
||||||
|
|
||||||
|
if (!$scope.providers) $scope.providers = [];
|
||||||
|
|
||||||
for (var i = 0; i < $scope.providers.length; i++) {
|
for (var i = 0; i < $scope.providers.length; i++) {
|
||||||
$scope.providers[i].isUserFederationProvider = false;
|
$scope.providers[i].isUserFederationProvider = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue