mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Changed /api/user/boards to only check if the user is logged in
This commit is contained in:
parent
158f19b67c
commit
452901d3b1
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue