diff options
author | Nicu Tofan <nicu.tofan@gmail.com> | 2018-06-27 15:30:52 +0300 |
---|---|---|
committer | Nicu Tofan <nicu.tofan@gmail.com> | 2018-06-27 15:30:52 +0300 |
commit | d23ac2b385d777f6ea22cb0c78557a75ee0018b1 (patch) | |
tree | 43409f5c0506ab3d1108b64c64a81b3ac29bea46 /client | |
parent | 766b58d91b7a76738ee7c95da2522ef62de866b1 (diff) | |
download | wekan-d23ac2b385d777f6ea22cb0c78557a75ee0018b1.tar.gz wekan-d23ac2b385d777f6ea22cb0c78557a75ee0018b1.tar.bz2 wekan-d23ac2b385d777f6ea22cb0c78557a75ee0018b1.zip |
Restore invitation code logic
Diffstat (limited to 'client')
-rw-r--r-- | client/components/settings/invitationCode.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/settings/invitationCode.js b/client/components/settings/invitationCode.js index c02f860f..a403d8ab 100644 --- a/client/components/settings/invitationCode.js +++ b/client/components/settings/invitationCode.js @@ -1,6 +1,6 @@ Template.invitationCode.onRendered(() => { const setting = Settings.findOne(); - if (setting || setting.disableRegistration) { + if (!setting || !setting.disableRegistration) { $('#invitationcode').hide(); } }); |