diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js index 3d907d8043..95d80a344f 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js @@ -1516,6 +1516,7 @@ module.controller('RealmBruteForceCtrl', function($scope, Realm, realm, $http, $ $scope.changed = false; Realm.update(realmCopy, function () { + oldCopy = angular.copy($scope.realm); $location.url("/realms/" + realm.realm + "/defense/brute-force"); Notifications.success("Your changes have been saved to the realm."); });