Merge branch 'TNick-invitation-code-setting' into devel

This commit is contained in:
Lauri Ojansivu 2018-06-27 23:38:58 +03:00
commit ed0ef5b7d3
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,14 @@
# Upcoming Wekan release
This release fixes the following bugs:
* To fix ["title is required"](https://github.com/wekan/wekan/issues/1576) fix only
add-checklist-items and revert all other migration changes](https://github.com/wekan/wekan/issues/1734);
* [Restore invitation code logic](https://github.com/wekan/wekan/pull/1732). Please test and add comment
to those invitation code issues that this fixes.
Thanks to GitHub users TNick and xet7 for their contributions.
# v1.08 2018-06-27 Wekan release
This release adds the following new features:

View file

@ -1,6 +1,6 @@
Template.invitationCode.onRendered(() => {
const setting = Settings.findOne();
if (setting || setting.disableRegistration) {
if (!setting || !setting.disableRegistration) {
$('#invitationcode').hide();
}
});