(js) Fix user removal from ACLs in Admin module

Fixes #3713
This commit is contained in:
Francis Lachapelle
2016-06-03 09:00:34 -04:00
parent 8395a78f6d
commit 717bab718c
3 changed files with 12 additions and 4 deletions
@@ -54,7 +54,7 @@
}
function removeUser(user) {
stateFolder.$acl.$removeUser(user.uid).catch(function(data, status) {
stateFolder.$acl.$removeUser(user.uid, stateFolder.owner).catch(function(data, status) {
Dialog.alert(l('Warning'), l('An error occured please try again.'));
});
}