mirror of https://github.com/wekan/wekan
commit
ed0ef5b7d3
@ -1,6 +1,6 @@ |
||||
Template.invitationCode.onRendered(() => { |
||||
const setting = Settings.findOne(); |
||||
if (setting || setting.disableRegistration) { |
||||
if (!setting || !setting.disableRegistration) { |
||||
$('#invitationcode').hide(); |
||||
} |
||||
}); |
||||
|
Loading…
Reference in new issue