diff --git a/server/lib/session/session.get.js b/server/lib/session/session.get.js index 90fe07e1eb..13307cbbba 100644 --- a/server/lib/session/session.get.js +++ b/server/lib/session/session.get.js @@ -37,6 +37,7 @@ async function get(userId, options) { order: [[optionsWithDefault.order_by, optionsWithDefault.order_dir]], where: { revoked: false, + user_id: userId, }, });