mirror of https://github.com/wekan/wekan
parent
766b58d91b
commit
d23ac2b385
@ -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