mirror of
https://github.com/wekan/wekan.git
synced 2025-12-19 17:00:13 +01:00
Restore invitation code logic
This commit is contained in:
parent
766b58d91b
commit
d23ac2b385
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