diff --git a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
index 5a1c85d..780362b 100755
--- a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
+++ b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
@@ -766,8 +766,6 @@ module.controller('RealmSessionStatsCtrl', function($scope, realm, stats, RealmA
$scope.realm = realm;
$scope.stats = stats;
- console.log(stats);
-
$scope.logoutAll = function() {
RealmLogoutAll.save({realm : realm.realm}, function (globalReqResult) {
var successCount = globalReqResult.successRequests ? globalReqResult.successRequests.length : 0;
@@ -777,16 +775,10 @@ module.controller('RealmSessionStatsCtrl', function($scope, realm, stats, RealmA
var msgStart = successCount>0 ? 'Successfully logout all users under: ' + globalReqResult.successRequests + ' . ' : '';
Notifications.error(msgStart + 'Failed to logout users under: ' + globalReqResult.failedRequests + '. Verify availability of failed hosts and try again');
} else {
- Notifications.success('Successfully logout all users from the realm');
+ window.location.reload();
}
-
- RealmApplicationSessionStats.query({realm: realm.realm}, function(updated) {
- $scope.stats = updated;
- })
});
};
-
-
});