diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-05-01 20:00:50 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-05-01 20:00:50 +0300 |
commit | c4b898633e1c959f51815ee93a354a093f1139b6 (patch) | |
tree | ac68f1d19145b43f9b65fb0edc2b6d7b72f2604a | |
parent | cfa3c4bfcba3168f47cba74ffe14030682dd4da5 (diff) | |
download | wekan-c4b898633e1c959f51815ee93a354a093f1139b6.tar.gz wekan-c4b898633e1c959f51815ee93a354a093f1139b6.tar.bz2 wekan-c4b898633e1c959f51815ee93a354a093f1139b6.zip |
Try to fix: Users who register with an invitation code can't see lists/cards.
Please test.
Thanks to andresmanelli !
Related #1610
-rw-r--r-- | models/users.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/users.js b/models/users.js index 20331a98..0093f7cb 100644 --- a/models/users.js +++ b/models/users.js @@ -495,6 +495,7 @@ if (Meteor.isServer) { throw new Meteor.Error('error-invitation-code-not-exist', 'The invitation code doesn\'t exist'); } else { user.profile = {icode: options.profile.invitationcode}; + user.profile.boardView = 'board-view-lists'; } return user; |