mirror of
https://github.com/wekan/wekan.git
synced 2026-01-29 12:46:09 +01:00
Merge branch 'invitation-code-setting' of https://github.com/TNick/wekan into TNick-invitation-code-setting
This commit is contained in:
commit
ae2e42e1b4
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
Template.invitationCode.onRendered(() => {
|
Template.invitationCode.onRendered(() => {
|
||||||
const setting = Settings.findOne();
|
const setting = Settings.findOne();
|
||||||
if (setting || setting.disableRegistration) {
|
if (!setting || !setting.disableRegistration) {
|
||||||
$('#invitationcode').hide();
|
$('#invitationcode').hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue