summaryrefslogtreecommitdiffstats
path: root/client/components/settings/invitationCode.js
blob: c02f860fc86a54b78b89fe10dd27537b8287179e (plain)
1
2
3
4
5
6
Template.invitationCode.onRendered(() => {
  const setting = Settings.findOne();
  if (setting || setting.disableRegistration) {
    $('#invitationcode').hide();
  }
});