KEYCLOAK-826 Show count of created/updated users during federation sync

This commit is contained in:
mposolda committed 2015-05-22 21:06:38 +02:00
1 parent 0f4497e53e
commit 61c35265a6
20 files changed
+312 -581

No files matched your search

@@ -705,8 +705,8 @@ module.controller('LDAPCtrl', function($scope, $location, $route, Notifications,
}
function triggerSync(action) {
UserFederationSync.get({ action: action, realm: $scope.realm.realm, provider: $scope.instance.id }, function() {
Notifications.success("Sync of users finished successfully");
UserFederationSync.save({ action: action, realm: $scope.realm.realm, provider: $scope.instance.id }, {}, function(syncResult) {
Notifications.success("Sync of users finished successfully. " + syncResult.status);
}, function() {
Notifications.error("Error during sync of users");
});