Do not require password for user and group deletion
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user