mirror of
https://github.com/wekan/wekan.git
synced 2026-01-08 18:48:50 +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(() => {
|
||||
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