diff options
author | mayjs <johannes.may@udo.edu> | 2017-05-15 19:20:37 +0200 |
---|---|---|
committer | mayjs <johannes.may@udo.edu> | 2017-05-15 19:20:37 +0200 |
commit | 452901d3b1578da35ba6c1caa50a640a9fcfccf7 (patch) | |
tree | f3ff48d0ceeed068d9b6779ee8e34d6aa7d2e376 /models | |
parent | 158f19b67cfcc62e67927c4cbe75f5732e672a3c (diff) | |
download | wekan-452901d3b1578da35ba6c1caa50a640a9fcfccf7.tar.gz wekan-452901d3b1578da35ba6c1caa50a640a9fcfccf7.tar.bz2 wekan-452901d3b1578da35ba6c1caa50a640a9fcfccf7.zip |
Changed /api/user/boards to only check if the user is logged in
Diffstat (limited to 'models')
-rw-r--r-- | models/boards.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/boards.js b/models/boards.js index 914ded93..5df34215 100644 --- a/models/boards.js +++ b/models/boards.js @@ -558,7 +558,7 @@ if (Meteor.isServer) { if (Meteor.isServer) { JsonRoutes.add('GET', '/api/user/boards', function (req, res, next) { // TODO: This should be changed to be less restrictive! - Authentication.checkUserId(req.userId); + Authentication.checkLoggedIn(req.userId); const data = Boards.find({ archived: false, |