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