mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04: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(() => {
|
||||
const setting = Settings.findOne();
|
||||
if (setting || setting.disableRegistration) {
|
||||
if (!setting || !setting.disableRegistration) {
|
||||
$('#invitationcode').hide();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue