diff --git a/src/js/client.js b/src/js/client.js index e76bf8c27..a3b939cd5 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -961,11 +961,9 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N }); }; - Client.prototype.removeGroup = function (groupId, password, callback) { + Client.prototype.removeGroup = function (groupId, callback) { var config = { - data: { - password: password - }, + data: {}, headers: { 'Content-Type': 'application/json' } @@ -1298,11 +1296,9 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N }); }; - Client.prototype.removeUser = function (userId, password, callback) { + Client.prototype.removeUser = function (userId, callback) { var config = { - data: { - password: password - }, + data: {}, headers: { 'Content-Type': 'application/json' } diff --git a/src/views/users.html b/src/views/users.html index 6295c0c6f..e5a2409cf 100644 --- a/src/views/users.html +++ b/src/views/users.html @@ -70,31 +70,19 @@