From 7a24976f435599651c5f38be90a3ce1608fde174 Mon Sep 17 00:00:00 2001 From: Borna Nematzadeh <74822121+bnematzadeh@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:21:32 +0330 Subject: [PATCH] Fix get session request to only display the session of the currently logged in user (#2168) --- server/lib/session/session.get.js | 1 + 1 file changed, 1 insertion(+) 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, }, });