mirror of
https://github.com/wekan/wekan.git
synced 2026-01-28 12:16:10 +01:00
Try to fix some security issues.
Thanks to responsible security disclosure contributors and xet7 !
This commit is contained in:
parent
b349ecbdf7
commit
ff993e7c91
9 changed files with 4272 additions and 2291 deletions
|
|
@ -2499,6 +2499,7 @@ if (Meteor.isServer) {
|
|||
Accounts.destroyToken(userId, token);
|
||||
data.message = 'Delete token: [' + token + '] from user: ' + userId;
|
||||
} else if (userId) {
|
||||
check(userId, String);
|
||||
Users.update(
|
||||
{
|
||||
_id: userId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue