mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
- [Fix Sandstorm export board from web](https://github.com/wekan/wekan/issues/2157).
- [Fix Error when logging in to Wekan REST API when using Sandstorm Wekan](https://github.com/wekan/wekan/issues/1279). Sandstorm API works this way: Make API key, and from that key copy API URL and API KEY to below. It saves Wekan board to file. `curl http://Bearer:APIKEY@api-12345.local.sandstorm.io:6080/api/boards/sandstorm/export?authToken=#APIKEY > wekanboard.json` If later API key does not work, you need to remove it and make a new one. Closes #2157, closes #1279
This commit is contained in:
parent
6f0e0748e1
commit
32f896f19d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ if (Meteor.isServer) {
|
|||
user = Meteor.users.findOne({
|
||||
'services.resume.loginTokens.hashedToken': hashToken,
|
||||
});
|
||||
} else {
|
||||
} else if (!Meteor.settings.public.sandstorm) {
|
||||
Authentication.checkUserId(req.userId);
|
||||
user = Users.findOne({ _id: req.userId, isAdmin: true });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue