Skip to content

Commit

Permalink
Fix get session request to only display the session of the currently …
Browse files Browse the repository at this point in the history
…logged in user (#2168)
  • Loading branch information
bnematzadeh authored Nov 11, 2024
1 parent 5b57c1d commit 7a24976
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/lib/session/session.get.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ async function get(userId, options) {
order: [[optionsWithDefault.order_by, optionsWithDefault.order_dir]],
where: {
revoked: false,
user_id: userId,
},
});

Expand Down

0 comments on commit 7a24976

Please sign in to comment.