This commit is contained in:
Drew
2016-04-20 15:42:18 -07:00
committed by Florent Vilmart
parent 9776362ab2
commit 7b91ee98ed
2 changed files with 20 additions and 2 deletions

View File

@@ -112,13 +112,14 @@ DatabaseController.prototype.untransformObject = function(
return object;
}
delete object.authData;
delete object.sessionToken;
if (isMaster || (aclGroup.indexOf(object.objectId) > -1)) {
return object;
}
delete object.authData;
return object;
};