From 3882cc4aa862f321436c6218b0b3f2c79bf22d58 Mon Sep 17 00:00:00 2001 From: Bill Burke Date: Tue, 5 Aug 2014 17:16:46 -0400 Subject: [PATCH] fix console session logoutAll --- .../theme/admin/base/resources/js/controllers/realm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 8d456be0c1..80738f8469 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 @@ -694,7 +694,7 @@ module.controller('RealmKeysDetailCtrl', function($scope, Realm, realm, $http, $ }; }); -module.controller('RealmSessionStatsCtrl', function($scope, realm, stats, RealmSessionStats, RealmLogoutAll, Notifications) { +module.controller('RealmSessionStatsCtrl', function($scope, realm, stats, RealmApplicationSessionStats, RealmLogoutAll, Notifications) { $scope.realm = realm; $scope.stats = stats; @@ -703,7 +703,7 @@ module.controller('RealmSessionStatsCtrl', function($scope, realm, stats, RealmS $scope.logoutAll = function() { RealmLogoutAll.save({realm : realm.realm}, function () { Notifications.success('Logged out all users'); - RealmSessionStats.get({realm: realm.realm}, function(updated) { + RealmApplicationSessionStats.get({realm: realm.realm}, function(updated) { Notifications.success('Logged out all users'); $scope.stats = updated; })