Do not require password for user and group deletion

This commit is contained in:
Johannes Zellner
2019-05-13 23:55:54 +02:00
parent 27c7c0438f
commit 30583cce21
3 changed files with 34 additions and 94 deletions

View File

@@ -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'
}