diff --git a/Packages/ohif-study-list/server/publications.js b/Packages/ohif-study-list/server/publications.js index 67698eb7a..48c7fd76f 100644 --- a/Packages/ohif-study-list/server/publications.js +++ b/Packages/ohif-study-list/server/publications.js @@ -3,6 +3,12 @@ import { OHIF } from 'meteor/ohif:core'; Meteor.publish('studyImportStatus', () => OHIF.studylist.collections.StudyImportStatus.find()); -Meteor.publish('servers', () => Servers.find()); +// When publishing Servers Collection, do not publish the requestOptions.headers +// field in case any authentication information is being passed +Meteor.publish('servers', () => Servers.find({}, { + fields: { + 'requestOptions.headers': 0 + } +})); Meteor.publish('currentServer', () => CurrentServer.find());