Skip to content

Commit

Permalink
Don't expose the 'settings' property on users to regular users via th…
Browse files Browse the repository at this point in the history
…e rest api (#10411)

[BREAK] The property "settings" is no longer available to regular users via rest api
  • Loading branch information
graywolf336 committed Apr 10, 2018
1 parent 0ec458e commit b6b8b9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rocketchat-api/server/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class API extends Restivus {
roles: 0,
statusDefault: 0,
_updatedAt: 0,
customFields: 0
customFields: 0,
settings: 0
};

this._config.defaultOptionsEndpoint = function _defaultOptionsEndpoint() {
Expand Down

0 comments on commit b6b8b9e

Please sign in to comment.