@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user